Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002159/0.00216, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002752/0.002752, allocations: 194.4 kB / 16.14 MB, free: 6.66 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.493/1.493, allocations: 222.9 MB / 239.8 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.922/2.922, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 66.39 kB / 0.9114 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3916, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002288/0.394, allocations: 0.7555 MB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.3952, allocations: 0.8741 MB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.457e-05/0.3952, allocations: 0 / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.08e-05/0.3953, allocations: 3.938 kB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.174e-05/0.3954, allocations: 7.938 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.3956, allocations: 19.98 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.268e-05/0.3957, allocations: 39.86 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.3958, allocations: 11.97 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.927e-05/0.3959, allocations: 19.92 kB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.404e-05/0.3959, allocations: 23.92 kB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.396, allocations: 4 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.32e-05/0.396, allocations: 0 / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.549e-05/0.396, allocations: 3.938 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.86e-05/0.3961, allocations: 19.86 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.3962, allocations: 39.86 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3962, allocations: 3.938 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.22e-07/0.3962, allocations: 0 / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.3962, allocations: 0 / 1.069 GB, free: 9.051 MB / 0.8262 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.0005915/0.3968, allocations: 367.7 kB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.3968, allocations: 8.031 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.598e-05/0.3969, allocations: 8.844 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.397, allocations: 168.3 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.397, allocations: 384 / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.397, allocations: 384 / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002802/0.3973, allocations: 70.22 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.3974, allocations: 8.188 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.3974, allocations: 3.938 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.3974, allocations: 3.984 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002883/0.3977, allocations: 63.88 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003947/0.3981, allocations: 264.9 kB / 1.07 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/0.3983, allocations: 66.47 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/0.3985, allocations: 40.91 kB / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.3985, allocations: 0 / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.3985, allocations: 34.55 kB / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.3985, allocations: 7.938 kB / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005402/0.3991, allocations: 121.6 kB / 1.07 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.3991, allocations: 51.41 kB / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.102e-05/0.3992, allocations: 109.8 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.3993, allocations: 29.7 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.865e-05/0.3993, allocations: 92.03 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.3994, allocations: 7.906 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.3994, allocations: 13.72 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.3995, allocations: 314.8 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.3997, allocations: 31.95 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.3998, allocations: 39.91 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002708/0.4001, allocations: 68.72 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.4001, allocations: 3.938 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003128/0.4004, allocations: 97.62 kB / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.4005, allocations: 8 kB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4005, allocations: 0 / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.4005, allocations: 0 / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.4006, allocations: 19.97 kB / 1.071 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.4006, allocations: 4 kB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.795e-05/0.4007, allocations: 7.984 kB / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.4007, allocations: 4 kB / 1.071 GB, free: 6.727 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.847e-05/0.4008, allocations: 113.8 kB / 1.071 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/0.4009, allocations: 7.906 kB / 1.071 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.578e-05/0.4009, allocations: 11.84 kB / 1.071 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.4009, allocations: 7.922 kB / 1.071 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.4009, allocations: 0 / 1.071 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4009, allocations: 0 / 1.071 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.4011, allocations: 169.6 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.4011, allocations: 0 / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.4012, allocations: 15.98 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.4012, allocations: 4 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.4012, allocations: 0 / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.4013, allocations: 3.984 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4013, allocations: 0 / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003697/0.4016, allocations: 195.4 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.575e-05/0.4017, allocations: 88.95 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.4017, allocations: 0 / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.4018, allocations: 19.97 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.347e-05/0.4019, allocations: 384 / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.4019, allocations: 4 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.656e-05/0.402, allocations: 91.2 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.91e-07/0.402, allocations: 0 / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002197/0.4022, allocations: 8 kB / 1.072 GB, free: 5.898 MB / 0.8262 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 (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.0001554/0.4023, allocations: 99.25 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003353/0.4027, allocations: 71.91 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.748e-06/0.4027, allocations: 0 / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.4029, allocations: 43.89 kB / 1.072 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.4032, allocations: 11.94 kB / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003301/0.4035, allocations: 139.1 kB / 1.072 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.4038, allocations: 0.6848 MB / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.964e-05/0.4038, allocations: 0 / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.416e-05/0.4039, allocations: 15.44 kB / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.4039, allocations: 0 / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of Templates: time 0.002771/0.4066, allocations: 0.5905 MB / 1.074 GB, free: 4.195 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1)