Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 89.73 kB / 15.06 MB, free: 1.098 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.001404/0.001404, allocations: 172.7 kB / 15.95 MB, free: 208 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.517/1.517, allocations: 223.3 MB / 240 MB, free: 5.445 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.733/2.733, allocations: 390.9 MB / 0.666 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004052/0.0004053, allocations: 15.94 kB / 0.8154 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8377/0.8381, allocations: 142.4 MB / 0.9544 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.0008081/0.8389, allocations: 345 kB / 0.9548 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001272/0.8402, allocations: 1.095 MB / 0.9558 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.257e-05/0.8403, allocations: 1.062 kB / 0.9558 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.866e-05/0.8404, allocations: 0 / 0.9558 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.11e-05/0.8404, allocations: 5.062 kB / 0.9559 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004419/0.8409, allocations: 105 kB / 0.956 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.841, allocations: 72.23 kB / 0.956 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.5e-05/0.8411, allocations: 6.531 kB / 0.956 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.73e-05/0.8411, allocations: 40.58 kB / 0.9561 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.692e-05/0.8412, allocations: 18.56 kB / 0.9561 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.8412, allocations: 4.625 kB / 0.9561 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.745e-05/0.8413, allocations: 22.27 kB / 0.9561 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.664e-05/0.8414, allocations: 4.156 kB / 0.9561 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.984e-05/0.8414, allocations: 31.98 kB / 0.9561 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.8415, allocations: 68.28 kB / 0.9562 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.8416, allocations: 0 / 0.9562 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8416, allocations: 4 kB / 0.9562 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.8416, allocations: 0 / 0.9562 GB, free: 6.547 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003496/0.8419, allocations: 367 kB / 0.9566 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.842, allocations: 9.969 kB / 0.9566 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/0.842, allocations: 12.27 kB / 0.9566 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.8422, allocations: 180.6 kB / 0.9568 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.8422, allocations: 7.562 kB / 0.9568 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.8422, allocations: 8.609 kB / 0.9568 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.8423, allocations: 46.09 kB / 0.9568 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.8424, allocations: 5.219 kB / 0.9568 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.8424, allocations: 7.984 kB / 0.9568 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.8424, allocations: 1.188 kB / 0.9568 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.284e-05/0.8424, allocations: 9.953 kB / 0.9568 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002993/0.8427, allocations: 300.5 kB / 0.9571 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.814e-05/0.8428, allocations: 20.8 kB / 0.9571 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.496e-05/0.8428, allocations: 19.59 kB / 0.9572 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-06/0.8428, allocations: 0 / 0.9572 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001298/0.8429, allocations: 58.3 kB / 0.9572 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.8429, allocations: 0 / 0.9572 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0001681/0.8431, allocations: 66.23 kB / 0.9573 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/0.8432, allocations: 52.47 kB / 0.9573 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.601e-05/0.8432, allocations: 110 kB / 0.9574 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.8433, allocations: 31.42 kB / 0.9575 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.009e-05/0.8433, allocations: 96.06 kB / 0.9576 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.097e-06/0.8433, allocations: 1.031 kB / 0.9576 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.24e-05/0.8433, allocations: 2.812 kB / 0.9576 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.646e-05/0.8434, allocations: 314.8 kB / 0.9579 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.355e-05/0.8435, allocations: 31.7 kB / 0.9579 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.819e-05/0.8435, allocations: 42.75 kB / 0.9579 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.495e-05/0.8436, allocations: 65.09 kB / 0.958 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.8436, allocations: 0 / 0.958 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002459/0.8439, allocations: 146.2 kB / 0.9581 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.621e-05/0.8439, allocations: 39.31 kB / 0.9582 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.8439, allocations: 0 / 0.9582 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.844, allocations: 5.078 kB / 0.9582 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.681e-05/0.844, allocations: 5.25 kB / 0.9582 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.844, allocations: 1.344 kB / 0.9582 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002453/0.8442, allocations: 45.75 kB / 0.9582 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.8443, allocations: 5.031 kB / 0.9582 GB, free: 4.496 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: 4 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.891e-05/0.8444, allocations: 117.6 kB / 0.9583 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.908e-06/0.8444, allocations: 5.469 kB / 0.9584 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.63e-05/0.8444, allocations: 11.86 kB / 0.9584 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.8444, allocations: 1.5 kB / 0.9584 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.8444, allocations: 0 / 0.9584 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.8444, allocations: 0 / 0.9584 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.8445, allocations: 161.2 kB / 0.9585 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.8445, allocations: 1.5 kB / 0.9585 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.78e-06/0.8446, allocations: 0 / 0.9585 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.8446, allocations: 0 / 0.9585 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.8446, allocations: 1.469 kB / 0.9585 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.8446, allocations: 8.203 kB / 0.9585 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.8446, allocations: 1.438 kB / 0.9585 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.643e-05/0.8447, allocations: 85.75 kB / 0.9586 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.588e-05/0.8447, allocations: 82.53 kB / 0.9587 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.8447, allocations: 5.594 kB / 0.9587 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.395e-05/0.8448, allocations: 4 kB / 0.9587 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.652e-05/0.8448, allocations: 9.297 kB / 0.9587 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.8448, allocations: 1.344 kB / 0.9587 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.945e-05/0.8448, allocations: 84.08 kB / 0.9588 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8448, allocations: 4 kB / 0.9588 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002075/0.8451, allocations: 18.56 kB / 0.9588 GB, free: 3.863 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001276/0.8452, allocations: 108.7 kB / 0.9589 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001883/0.8454, allocations: 118.2 kB / 0.959 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.8454, allocations: 1.656 kB / 0.959 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.719e-05/0.8454, allocations: 13.64 kB / 0.959 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.8456, allocations: 9.594 kB / 0.9591 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000288/0.8459, allocations: 147.5 kB / 0.9592 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.8461, allocations: 0.6802 MB / 0.9599 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.923e-05/0.8461, allocations: 5.766 kB / 0.9599 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.377e-05/0.8461, allocations: 9.375 kB / 0.9599 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.8461, allocations: 0 / 0.9599 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of Templates: time 0.003257/0.8494, allocations: 0.9624 MB / 0.9608 GB, free: 2.312 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches