Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.285/2.285, allocations: 390.3 MB / 405.3 MB, free: 13.32 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 184.5 kB / 498.1 MB, free: 5.547 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 223.2 MB / 0.7949 GB, free: 18.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008728/0.0008726, allocations: 103.9 kB / 0.9346 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003849/0.0003849, allocations: 12.06 kB / 1.084 GB, free: 212.4 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.331, allocations: 142.4 MB / 1.223 GB, free: 89.56 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1844/0.5154, allocations: 148.8 MB / 1.368 GB, free: 4.555 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000202/0.5157, allocations: 67.97 kB / 1.368 GB, free: 4.488 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00385/0.5195, allocations: 1.408 MB / 1.37 GB, free: 3.078 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.715e-06/0.5196, allocations: 0 / 1.37 GB, free: 3.078 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.303e-06/0.5196, allocations: 0 / 1.37 GB, free: 3.078 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000425/0.52, allocations: 375.2 kB / 1.37 GB, free: 2.664 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.5201, allocations: 8.031 kB / 1.37 GB, free: 2.656 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.614e-05/0.5201, allocations: 7.906 kB / 1.37 GB, free: 2.648 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.5202, allocations: 167 kB / 1.37 GB, free: 2.445 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.5203, allocations: 4 kB / 1.37 GB, free: 2.441 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.5203, allocations: 4 kB / 1.37 GB, free: 2.438 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002633/0.5206, allocations: 89.56 kB / 1.37 GB, free: 2.344 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.5206, allocations: 4 kB / 1.37 GB, free: 2.34 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.5206, allocations: 3.938 kB / 1.37 GB, free: 2.336 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.5206, allocations: 0 / 1.37 GB, free: 2.336 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003034/0.5209, allocations: 87.92 kB / 1.37 GB, free: 2.25 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005251/0.5215, allocations: 300.9 kB / 1.371 GB, free: 1.906 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.5217, allocations: 70.53 kB / 1.371 GB, free: 1.828 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.5217, allocations: 3.938 kB / 1.371 GB, free: 1.824 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.5217, allocations: 34.56 kB / 1.371 GB, free: 1.781 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.5218, allocations: 0 / 1.371 GB, free: 1.781 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0005627/0.5223, allocations: 161.6 kB / 1.371 GB, free: 1.617 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.47e-05/0.5224, allocations: 59.39 kB / 1.371 GB, free: 1.547 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.917e-05/0.5225, allocations: 101 kB / 1.371 GB, free: 1.441 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.5225, allocations: 29.7 kB / 1.371 GB, free: 1.406 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.994e-05/0.5225, allocations: 88.06 kB / 1.371 GB, free: 1.316 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.5226, allocations: 11.89 kB / 1.371 GB, free: 1.305 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/0.5226, allocations: 0 / 1.371 GB, free: 1.305 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.5227, allocations: 314.8 kB / 1.372 GB, free: 0.9883 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.5228, allocations: 47.89 kB / 1.372 GB, free: 0.9414 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.523, allocations: 39.97 kB / 1.372 GB, free: 0.9023 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.5231, allocations: 47.95 kB / 1.372 GB, free: 0.8555 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5231, allocations: 0 / 1.372 GB, free: 0.8555 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003244/0.5235, allocations: 121.5 kB / 1.372 GB, free: 0.7305 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.5235, allocations: 4 kB / 1.372 GB, free: 0.7266 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.5235, allocations: 0 / 1.372 GB, free: 0.7266 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.5235, allocations: 0 / 1.372 GB, free: 0.7266 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.5237, allocations: 27.98 kB / 1.372 GB, free: 0.6992 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.5237, allocations: 0 / 1.372 GB, free: 0.6992 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.899e-05/0.5238, allocations: 19.97 kB / 1.372 GB, free: 0.6797 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.5238, allocations: 7.953 kB / 1.372 GB, free: 0.6719 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.568e-05/0.5239, allocations: 109.8 kB / 1.372 GB, free: 0.5547 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.5239, allocations: 4 kB / 1.372 GB, free: 0.5508 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.544e-05/0.524, allocations: 11.84 kB / 1.372 GB, free: 0.5312 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.524, allocations: 0 / 1.372 GB, free: 0.5312 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.524, allocations: 0 / 1.372 GB, free: 0.5312 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.524, allocations: 0 / 1.372 GB, free: 0.5312 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.5242, allocations: 181.4 kB / 1.372 GB, free: 312 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.5242, allocations: 0 / 1.372 GB, free: 312 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.5243, allocations: 23.98 kB / 1.372 GB, free: 288 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.5243, allocations: 0 / 1.372 GB, free: 288 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.5243, allocations: 0 / 1.372 GB, free: 288 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.5243, allocations: 4 kB / 1.372 GB, free: 284 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.5243, allocations: 0 / 1.372 GB, free: 284 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003627/0.5247, allocations: 223.7 kB / 1.372 GB, free: 44 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.237e-05/0.5248, allocations: 81.05 kB / 1.372 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.5248, allocations: 0 / 1.372 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.5249, allocations: 19.98 kB / 1.372 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.525, allocations: 7.984 kB / 1.372 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.525, allocations: 0 / 1.372 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.456e-05/0.525, allocations: 91.53 kB / 1.373 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.51e-07/0.525, allocations: 3.938 kB / 1.373 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002017/0.5252, allocations: 4 kB / 1.373 GB, free: 15.82 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001293/0.5254, allocations: 107 kB / 1.373 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003385/0.5257, allocations: 95.92 kB / 1.373 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.5257, allocations: 0 / 1.373 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.5259, allocations: 43.97 kB / 1.373 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.5261, allocations: 11.94 kB / 1.373 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002975/0.5264, allocations: 140.5 kB / 1.373 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.5266, allocations: 0.6809 MB / 1.374 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.239e-05/0.5267, allocations: 7.984 kB / 1.374 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.877e-05/0.5267, allocations: 7.438 kB / 1.374 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of SimCode: time 3e-07/0.5267, allocations: 0 / 1.374 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of Templates: time 0.002624/0.5293, allocations: 0.5562 MB / 1.374 GB, free: 14.12 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches