Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 98.09 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 183.7 kB / 16.92 MB, free: 6.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.853/2.853, allocations: 462.7 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.00037, allocations: 9.656 kB / 0.9035 GB, free: 36.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3448, allocations: 159.6 MB / 1.059 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001264/0.3461, allocations: 0.6803 MB / 1.06 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002234/0.3483, allocations: 1.49 MB / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.3485, allocations: 4 kB / 1.061 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.353e-05/0.3486, allocations: 7.875 kB / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002038/0.3488, allocations: 47.69 kB / 1.062 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.35, allocations: 414.2 kB / 1.062 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005106/0.3505, allocations: 427.1 kB / 1.062 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/0.3507, allocations: 37.67 kB / 1.062 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003134/0.351, allocations: 143.6 kB / 1.062 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002524/0.3512, allocations: 127.5 kB / 1.063 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.3514, allocations: 20 kB / 1.063 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.3515, allocations: 31.98 kB / 1.063 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.763e-05/0.3515, allocations: 23.86 kB / 1.063 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002217/0.3518, allocations: 165.1 kB / 1.063 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003867/0.3522, allocations: 375.2 kB / 1.063 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3522, allocations: 3.938 kB / 1.063 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3522, allocations: 0 / 1.063 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.769e-06/0.3522, allocations: 4 kB / 1.063 GB, free: 1.004 MB / 0.8106 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.0008247/0.353, allocations: 0.56 MB / 1.064 GB, free: 376 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.3531, allocations: 12.03 kB / 1.064 GB, free: 364 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.3532, allocations: 36.67 kB / 1.064 GB, free: 328 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.3534, allocations: 222.9 kB / 1.064 GB, free: 68 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.107e-05/0.3535, allocations: 20.38 kB / 1.064 GB, free: 48 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.345e-05/0.3536, allocations: 24.38 kB / 1.064 GB, free: 24 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.3538, allocations: 117.6 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.3539, allocations: 4.172 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.3539, allocations: 7.938 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.3539, allocations: 4 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.354, allocations: 47.92 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.3551, allocations: 0.8757 MB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.3553, allocations: 122.3 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.964e-05/0.3554, allocations: 47.5 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.3554, allocations: 11.98 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000299/0.3557, allocations: 177.1 kB / 1.065 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 2.204e-06/0.3557, allocations: 0 / 1.065 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0004961/0.3562, allocations: 225.3 kB / 1.066 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.843e-05/0.3563, allocations: 132.5 kB / 1.066 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002662/0.3566, allocations: 244.8 kB / 1.066 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.193e-05/0.3567, allocations: 37.7 kB / 1.066 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.3568, allocations: 136.3 kB / 1.066 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/0.3569, allocations: 27.69 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.532e-05/0.357, allocations: 41.7 kB / 1.066 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.3571, allocations: 338.8 kB / 1.067 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003067/0.3574, allocations: 140.2 kB / 1.067 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003428/0.3578, allocations: 231.3 kB / 1.067 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004729/0.3583, allocations: 369 kB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.3583, allocations: 0 / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009634/0.3592, allocations: 0.5467 MB / 1.068 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.3594, allocations: 136 kB / 1.068 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.3594, allocations: 4 kB / 1.068 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.3594, allocations: 4 kB / 1.068 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.134e-05/0.3595, allocations: 16.19 kB / 1.068 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.3595, allocations: 8 kB / 1.068 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008137/0.3603, allocations: 161.2 kB / 1.068 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.425e-05/0.3604, allocations: 31.97 kB / 1.068 GB, free: 11.46 MB / 0.8262 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.0002/0.3606, allocations: 149.7 kB / 1.068 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.149e-05/0.3607, allocations: 19.72 kB / 1.068 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.222e-05/0.3607, allocations: 30.11 kB / 1.068 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3607, allocations: 0 / 1.068 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.3607, allocations: 4 kB / 1.068 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.3608, allocations: 7.938 kB / 1.068 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002835/0.361, allocations: 257.5 kB / 1.069 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.515e-05/0.3611, allocations: 7.984 kB / 1.069 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.511e-05/0.3611, allocations: 11.94 kB / 1.069 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.3611, allocations: 4 kB / 1.069 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.3612, allocations: 0 / 1.069 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.3612, allocations: 4 kB / 1.069 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3612, allocations: 0 / 1.069 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003107/0.3615, allocations: 235.2 kB / 1.069 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.824e-05/0.3616, allocations: 92.91 kB / 1.069 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/0.3616, allocations: 7.938 kB / 1.069 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.8e-05/0.3617, allocations: 4 kB / 1.069 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/0.3617, allocations: 23.91 kB / 1.069 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.3617, allocations: 4 kB / 1.069 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001819/0.3619, allocations: 176.5 kB / 1.069 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3619, allocations: 0 / 1.069 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003586/0.3623, allocations: 67.91 kB / 1.069 GB, free: 10.27 MB / 0.8262 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.000184/0.3625, allocations: 115.4 kB / 1.069 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007463/0.3632, allocations: 0.5248 MB / 1.07 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3632, allocations: 0.5 kB / 1.07 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.3634, allocations: 87.91 kB / 1.07 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004862/0.3639, allocations: 53.59 kB / 1.07 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000736/0.3647, allocations: 422.9 kB / 1.07 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.365, allocations: 0.7284 MB / 1.071 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.786e-05/0.3651, allocations: 23.42 kB / 1.071 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of SimCode: time 3.91e-07/0.3651, allocations: 0 / 1.071 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of Templates: time 0.006793/0.3719, allocations: 3.463 MB / 1.074 GB, free: 4.781 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches