Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008128/0.0008128, allocations: 71.75 kB / 20.97 MB, free: 3.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 169.3 kB / 24.28 MB, free: 280 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9771/0.9771, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.804/1.804, allocations: 359 MB / 0.6055 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.025e-05/2.219e-05, allocations: 5.656 kB / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.00473/0.004752, allocations: 0.9529 MB / 0.788 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001613/0.006365, allocations: 1.486 MB / 0.7895 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.894e-05/0.006434, allocations: 0.6875 kB / 0.7895 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.181e-05/0.006476, allocations: 18.08 kB / 0.7895 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.006614, allocations: 67.5 kB / 0.7896 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007741/0.007388, allocations: 424.8 kB / 0.79 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000437/0.007825, allocations: 0.4911 MB / 0.7905 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.007943, allocations: 28.08 kB / 0.7905 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002462/0.008189, allocations: 259.6 kB / 0.7907 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001873/0.008376, allocations: 135.6 kB / 0.7909 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.358e-05/0.00844, allocations: 52 kB / 0.7909 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.177e-05/0.008531, allocations: 63.92 kB / 0.791 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.706e-05/0.008568, allocations: 39.84 kB / 0.791 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.0087, allocations: 133.9 kB / 0.7911 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003418/0.009042, allocations: 347 kB / 0.7915 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.009044, allocations: 0 / 0.7915 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.41e-07/0.009045, allocations: 0 / 0.7915 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.00905, allocations: 0 / 0.7915 GB, free: 8.332 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006619/0.009712, allocations: 0.6546 MB / 0.7921 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.009751, allocations: 9.594 kB / 0.7921 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.773e-05/0.009849, allocations: 44.78 kB / 0.7922 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.009996, allocations: 167.7 kB / 0.7923 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/0.01003, allocations: 20.31 kB / 0.7923 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.435e-05/0.01007, allocations: 21.73 kB / 0.7924 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.01024, allocations: 129.7 kB / 0.7925 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.01026, allocations: 8.109 kB / 0.7925 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.01027, allocations: 2.125 kB / 0.7925 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.01028, allocations: 4.375 kB / 0.7925 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003075/0.01335, allocations: 31.91 kB / 0.7925 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008812/0.01423, allocations: 0.9024 MB / 0.7934 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.01437, allocations: 129.8 kB / 0.7935 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.627e-05/0.01443, allocations: 52.73 kB / 0.7936 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-06/0.01444, allocations: 0 / 0.7936 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001982/0.01464, allocations: 182.2 kB / 0.7938 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.382e-06/0.01464, allocations: 0 / 0.7938 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0003662/0.015, allocations: 189.3 kB / 0.7939 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.208e-05/0.01507, allocations: 139 kB / 0.7941 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/0.01528, allocations: 280.3 kB / 0.7943 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.254e-05/0.01532, allocations: 37.7 kB / 0.7944 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.01543, allocations: 179.2 kB / 0.7945 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.01545, allocations: 39.66 kB / 0.7946 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.01559, allocations: 95.31 kB / 0.7947 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.01573, allocations: 0.504 MB / 0.7952 GB, free: 4.211 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002569/0.01599, allocations: 223.7 kB / 0.7954 GB, free: 3.965 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003121/0.0163, allocations: 350.3 kB / 0.7957 GB, free: 3.551 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003285/0.01663, allocations: 362.2 kB / 0.7961 GB, free: 3.125 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.01663, allocations: 4 kB / 0.7961 GB, free: 3.121 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007359/0.01737, allocations: 0.6227 MB / 0.7967 GB, free: 2.445 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.763e-05/0.01746, allocations: 134.8 kB / 0.7968 GB, free: 2.289 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.01746, allocations: 4 kB / 0.7968 GB, free: 2.285 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.01748, allocations: 4.844 kB / 0.7968 GB, free: 2.281 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.658e-05/0.01756, allocations: 15.94 kB / 0.7968 GB, free: 2.266 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.01757, allocations: 5.281 kB / 0.7968 GB, free: 2.262 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003385/0.01791, allocations: 81.59 kB / 0.7969 GB, free: 2.184 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.576e-05/0.01795, allocations: 31.97 kB / 0.7969 GB, free: 2.152 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001271/0.01808, allocations: 186 kB / 0.7971 GB, free: 1.961 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/0.01811, allocations: 27.86 kB / 0.7971 GB, free: 1.934 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.163e-05/0.01816, allocations: 26.58 kB / 0.7972 GB, free: 1.906 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.01816, allocations: 4.031 kB / 0.7972 GB, free: 1.902 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.01817, allocations: 4 kB / 0.7972 GB, free: 1.898 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.01817, allocations: 3.094 kB / 0.7972 GB, free: 1.898 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.01834, allocations: 184.5 kB / 0.7974 GB, free: 1.684 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.01834, allocations: 0 / 0.7974 GB, free: 1.684 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.176e-05/0.01837, allocations: 19.92 kB / 0.7974 GB, free: 1.664 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.01838, allocations: 7.938 kB / 0.7974 GB, free: 1.656 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.01839, allocations: 4 kB / 0.7974 GB, free: 1.652 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.01839, allocations: 0 / 0.7974 GB, free: 1.652 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01839, allocations: 0 / 0.7974 GB, free: 1.652 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.01862, allocations: 215.2 kB / 0.7976 GB, free: 1.406 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.768e-05/0.01865, allocations: 24.41 kB / 0.7976 GB, free: 1.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.01868, allocations: 8.484 kB / 0.7976 GB, free: 1.375 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.089e-05/0.01872, allocations: 5.344 kB / 0.7976 GB, free: 1.371 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.394e-05/0.01876, allocations: 23.91 kB / 0.7976 GB, free: 1.348 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.01877, allocations: 4 kB / 0.7977 GB, free: 1.344 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.434e-05/0.01886, allocations: 193.1 kB / 0.7978 GB, free: 1.156 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01886, allocations: 1 kB / 0.7978 GB, free: 1.156 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002023/0.01907, allocations: 75.89 kB / 0.7979 GB, free: 1.082 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001316/0.0192, allocations: 110.9 kB / 0.798 GB, free: 0.9688 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004371/0.01964, allocations: 0.5545 MB / 0.7986 GB, free: 344 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.01964, allocations: 0 / 0.7986 GB, free: 344 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.143e-05/0.0197, allocations: 59.58 kB / 0.7986 GB, free: 280 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.01998, allocations: 72.67 kB / 0.7987 GB, free: 212 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004527/0.02043, allocations: 338.1 kB / 0.799 GB, free: 15.83 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.491e-05/0.02048, allocations: 81.05 kB / 0.7991 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 4.564e-05/0.02052, allocations: 19.39 kB / 0.7991 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.094e-05/0.02055, allocations: 24.5 kB / 0.7991 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of SimCode: time 1.693e-06/0.02056, allocations: 0 / 0.7991 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of Templates: time 0.006367/0.02692, allocations: 5.066 MB / 0.8041 GB, free: 10.76 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.228982570813969]