Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009413/0.0009413, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.000928/0.000928, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 223.2 MB / 239.9 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.526/2.526, allocations: 390.3 MB / 0.6653 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003464/0.0003466, allocations: 12 kB / 0.8145 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8152/0.8156, allocations: 142.3 MB / 0.9535 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.00244/0.8181, allocations: 1.635 MB / 0.9551 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00179/0.8199, allocations: 1.1 MB / 0.9562 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.82, allocations: 6.312 kB / 0.9562 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004289/0.8205, allocations: 137.2 kB / 0.9563 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003041/0.8208, allocations: 135.7 kB / 0.9565 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005561/0.8213, allocations: 179.3 kB / 0.9566 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002949/0.8216, allocations: 189.5 kB / 0.9568 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.8218, allocations: 45.95 kB / 0.9569 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.822, allocations: 134.2 kB / 0.957 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.8222, allocations: 111.4 kB / 0.9571 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.575e-05/0.8222, allocations: 5.281 kB / 0.9571 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.8223, allocations: 34.39 kB / 0.9571 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.703e-05/0.8224, allocations: 77.47 kB / 0.9572 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.86e-05/0.8225, allocations: 70.58 kB / 0.9573 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002861/0.8228, allocations: 285.2 kB / 0.9575 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.8228, allocations: 0 / 0.9575 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8228, allocations: 1.219 kB / 0.9575 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.8228, allocations: 0 / 0.9575 GB, free: 5.082 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009081/0.8238, allocations: 0.5881 MB / 0.9581 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.8238, allocations: 9 kB / 0.9581 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.173e-05/0.8239, allocations: 35.62 kB / 0.9582 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004879/0.8244, allocations: 350.3 kB / 0.9585 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.776e-05/0.8244, allocations: 8.125 kB / 0.9585 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.8245, allocations: 5.5 kB / 0.9585 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.8247, allocations: 110.6 kB / 0.9586 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.8247, allocations: 1.375 kB / 0.9586 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.8247, allocations: 7.938 kB / 0.9586 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.8247, allocations: 6.688 kB / 0.9586 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.8249, allocations: 58.22 kB / 0.9587 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007561/0.8257, allocations: 0.4891 MB / 0.9592 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003274/0.826, allocations: 135.2 kB / 0.9593 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.959e-05/0.8261, allocations: 2.719 kB / 0.9593 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002504/0.8263, allocations: 119 kB / 0.9594 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.8263, allocations: 0 / 0.9594 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.000558/0.8269, allocations: 215.7 kB / 0.9596 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.8269, allocations: 52.62 kB / 0.9597 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006576/0.8276, allocations: 0.5081 MB / 0.9602 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.8276, allocations: 31.73 kB / 0.9602 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.8277, allocations: 160.8 kB / 0.9603 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.8278, allocations: 38.42 kB / 0.9604 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.394e-05/0.8278, allocations: 9.375 kB / 0.9604 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.998e-05/0.8279, allocations: 349.8 kB / 0.9607 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/0.8281, allocations: 94.61 kB / 0.9608 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.8283, allocations: 133.7 kB / 0.9609 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002058/0.8285, allocations: 103.1 kB / 0.961 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.8286, allocations: 4 kB / 0.961 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005659/0.8291, allocations: 325.4 kB / 0.9613 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.8292, allocations: 6.125 kB / 0.9614 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.8292, allocations: 4.969 kB / 0.9614 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.8292, allocations: 2.031 kB / 0.9614 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.8294, allocations: 50.62 kB / 0.9614 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.8295, allocations: 2.094 kB / 0.9614 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.8296, allocations: 22.86 kB / 0.9614 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-05/0.8297, allocations: 19.61 kB / 0.9615 GB, free: 2.062 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,intEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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 0.0001715/0.8298, allocations: 179.4 kB / 0.9616 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.66e-05/0.8299, allocations: 33.92 kB / 0.9617 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.226e-05/0.83, allocations: 37.27 kB / 0.9617 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.83, allocations: 2.312 kB / 0.9617 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.83, allocations: 0 / 0.9617 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.83, allocations: 1.094 kB / 0.9617 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002544/0.8303, allocations: 295.5 kB / 0.962 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.8303, allocations: 1.375 kB / 0.962 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.85e-05/0.8303, allocations: 24.86 kB / 0.962 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.8304, allocations: 4.953 kB / 0.962 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.8304, allocations: 2 kB / 0.962 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.8304, allocations: 1.156 kB / 0.962 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.8304, allocations: 3.938 kB / 0.962 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003554/0.8307, allocations: 212.6 kB / 0.9622 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.647e-05/0.8309, allocations: 114.4 kB / 0.9623 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.288e-05/0.8309, allocations: 7.047 kB / 0.9623 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.302e-05/0.831, allocations: 15.36 kB / 0.9623 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.852e-05/0.8311, allocations: 15.55 kB / 0.9624 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.8311, allocations: 9.734 kB / 0.9624 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00036/0.8315, allocations: 312.7 kB / 0.9627 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8315, allocations: 0 / 0.9627 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003018/0.8318, allocations: 55.84 kB / 0.9627 GB, free: 1.082 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001048/0.8328, allocations: 432.5 kB / 0.9631 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004583/0.8333, allocations: 188.1 kB / 0.9633 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.8333, allocations: 3.938 kB / 0.9633 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.8335, allocations: 59.38 kB / 0.9634 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004545/0.8339, allocations: 82.75 kB / 0.9635 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009909/0.8349, allocations: 0.5773 MB / 0.964 GB, free: 348 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004356/0.8354, allocations: 0.8015 MB / 0.9648 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001477/0.8356, allocations: 53.8 kB / 0.9648 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.871e-05/0.8356, allocations: 29.58 kB / 0.9649 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.8356, allocations: 0 / 0.9649 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of Templates: time 0.00903/0.8447, allocations: 3.741 MB / 0.9685 GB, free: 13.71 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches