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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001686/0.001686, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.45/1.45, allocations: 222.9 MB / 239.8 MB, free: 4.609 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.556/2.556, allocations: 390.2 MB / 0.6643 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 63.89 kB / 0.812 GB, free: 14.73 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7484/0.75, allocations: 140.4 MB / 0.9491 GB, free: 9.031 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001847/0.7519, allocations: 0.6827 MB / 0.9497 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001135/0.753, allocations: 1.123 MB / 0.9508 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.304e-05/0.7531, allocations: 0 / 0.9508 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.7532, allocations: 1.469 kB / 0.9508 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.158e-05/0.7532, allocations: 7.922 kB / 0.9508 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00037/0.7536, allocations: 113.2 kB / 0.9509 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.104e-05/0.7537, allocations: 88.09 kB / 0.951 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.277e-05/0.7538, allocations: 3.469 kB / 0.951 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.346e-05/0.7538, allocations: 28.19 kB / 0.9511 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.227e-05/0.7539, allocations: 27.22 kB / 0.9511 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.7539, allocations: 4.438 kB / 0.9511 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.936e-05/0.754, allocations: 18.95 kB / 0.9511 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.744e-05/0.7541, allocations: 7.547 kB / 0.9511 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.822e-05/0.7541, allocations: 34.72 kB / 0.9511 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.7543, allocations: 82.53 kB / 0.9512 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.7543, allocations: 5.344 kB / 0.9512 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.032e-06/0.7543, allocations: 0 / 0.9512 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.7543, allocations: 0 / 0.9512 GB, free: 7.355 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.0003395/0.7546, allocations: 385.4 kB / 0.9516 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.7547, allocations: 9.406 kB / 0.9516 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.17e-05/0.7547, allocations: 36.06 kB / 0.9516 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.735e-05/0.7548, allocations: 9.062 kB / 0.9516 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.7549, allocations: 187.3 kB / 0.9518 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.7549, allocations: 3.156 kB / 0.9518 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.7549, allocations: 10.28 kB / 0.9518 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8e-05/0.755, allocations: 46.02 kB / 0.9519 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.755, allocations: 3.938 kB / 0.9519 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.755, allocations: 0.9688 kB / 0.9519 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.755, allocations: 0 / 0.9519 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.795e-05/0.7551, allocations: 14.45 kB / 0.9519 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002507/0.7553, allocations: 308.4 kB / 0.9522 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.137e-05/0.7554, allocations: 21.08 kB / 0.9522 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.336e-05/0.7554, allocations: 12.55 kB / 0.9522 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.086e-06/0.7554, allocations: 0 / 0.9522 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.838e-05/0.7555, allocations: 56.77 kB / 0.9523 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.7555, allocations: 0 / 0.9523 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0001466/0.7557, allocations: 60.12 kB / 0.9523 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/0.7557, allocations: 60.58 kB / 0.9524 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.336e-05/0.7557, allocations: 105.7 kB / 0.9525 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.7558, allocations: 26.86 kB / 0.9525 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.964e-05/0.7558, allocations: 96.59 kB / 0.9526 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.476e-06/0.7558, allocations: 5.281 kB / 0.9526 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.323e-05/0.7559, allocations: 29.52 kB / 0.9526 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.91e-05/0.7559, allocations: 316.2 kB / 0.9529 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.474e-05/0.756, allocations: 34.84 kB / 0.953 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.81e-05/0.7561, allocations: 54.88 kB / 0.953 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.932e-05/0.7561, allocations: 80.7 kB / 0.9531 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.7562, allocations: 0 / 0.9531 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002053/0.7564, allocations: 138.9 kB / 0.9532 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.7564, allocations: 36.36 kB / 0.9533 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.7564, allocations: 5.688 kB / 0.9533 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.377e-06/0.7564, allocations: 1.219 kB / 0.9533 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.41e-05/0.7564, allocations: 9.078 kB / 0.9533 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.7564, allocations: 9.297 kB / 0.9533 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.7567, allocations: 27 kB / 0.9533 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.7567, allocations: 5.094 kB / 0.9533 GB, free: 5.203 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 (booPul.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.657e-05/0.7567, allocations: 124.2 kB / 0.9535 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.829e-06/0.7568, allocations: 5.312 kB / 0.9535 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.943e-05/0.7568, allocations: 7.906 kB / 0.9535 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.7568, allocations: 1.531 kB / 0.9535 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.7568, allocations: 0 / 0.9535 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.7568, allocations: 0 / 0.9535 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.518e-05/0.7569, allocations: 177.8 kB / 0.9536 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.7569, allocations: 0 / 0.9536 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.442e-06/0.7569, allocations: 1.469 kB / 0.9536 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.7569, allocations: 240 / 0.9536 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.7569, allocations: 1.562 kB / 0.9536 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.7569, allocations: 0 / 0.9536 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.7569, allocations: 4 kB / 0.9536 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.814e-05/0.757, allocations: 87.02 kB / 0.9537 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.519e-05/0.757, allocations: 82.31 kB / 0.9538 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.757, allocations: 1.312 kB / 0.9538 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.363e-05/0.7571, allocations: 0 / 0.9538 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.946e-05/0.7571, allocations: 1.312 kB / 0.9538 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.7571, allocations: 1.406 kB / 0.9538 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.616e-05/0.7571, allocations: 87.86 kB / 0.9539 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7571, allocations: 4.844 kB / 0.9539 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002131/0.7573, allocations: 19.38 kB / 0.9539 GB, free: 4.566 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 (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.0002551/0.7576, allocations: 0.6182 MB / 0.9545 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001689/0.7578, allocations: 118.6 kB / 0.9546 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7578, allocations: 8.125 kB / 0.9546 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.63e-05/0.7578, allocations: 12.12 kB / 0.9546 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/0.758, allocations: 9.703 kB / 0.9547 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.7591, allocations: 1.369 MB / 0.956 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.7592, allocations: 0.6804 MB / 0.9567 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.927e-05/0.7592, allocations: 6.422 kB / 0.9567 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.556e-05/0.7592, allocations: 12.72 kB / 0.9567 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of SimCode: time 4.41e-07/0.7592, allocations: 0.7188 kB / 0.9567 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01133/0.7706, allocations: 1.822 MB / 0.9585 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002723/0.7709, allocations: 222.8 kB / 0.9587 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.679/2.45, allocations: 0 / 0.9587 GB, free: 0.6797 MB / 0.7169 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.fmu > 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/jenkins1/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