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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00141/0.00141, 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.001717/0.001718, allocations: 194 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.48/1.48, 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.3-maint.9.1.x/package.mo): time 2.441/2.441, allocations: 390.2 MB / 0.6642 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 60.09 kB / 0.8119 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8808/0.8827, allocations: 140.4 MB / 0.9489 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.00218/0.885, allocations: 0.6854 MB / 0.9496 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0016/0.8866, allocations: 1.118 MB / 0.9507 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.471e-05/0.8866, allocations: 1.438 kB / 0.9507 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001337/0.8868, allocations: 3.938 kB / 0.9507 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.527e-05/0.8868, allocations: 1.406 kB / 0.9507 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005127/0.8873, allocations: 117.3 kB / 0.9508 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.8875, allocations: 79.31 kB / 0.9509 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.8876, allocations: 4.406 kB / 0.9509 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.132e-05/0.8877, allocations: 35.92 kB / 0.9509 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.8878, allocations: 26.86 kB / 0.9509 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.8878, allocations: 4.125 kB / 0.9509 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.253e-05/0.8879, allocations: 23.8 kB / 0.951 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.734e-05/0.888, allocations: 6.734 kB / 0.951 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.386e-05/0.888, allocations: 30.61 kB / 0.951 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.8882, allocations: 85.7 kB / 0.9511 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.8882, allocations: 0 / 0.9511 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.913e-06/0.8882, allocations: 0 / 0.9511 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.8883, allocations: 3.938 kB / 0.9511 GB, free: 7.484 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.0004802/0.8887, allocations: 387.7 kB / 0.9515 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.8888, allocations: 9.625 kB / 0.9515 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.756e-05/0.8889, allocations: 8.969 kB / 0.9515 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.889, allocations: 179.2 kB / 0.9517 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.889, allocations: 7.125 kB / 0.9517 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/0.8891, allocations: 5.875 kB / 0.9517 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.8892, allocations: 42.5 kB / 0.9517 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.8892, allocations: 192 / 0.9517 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.8892, allocations: 9.25 kB / 0.9517 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.8892, allocations: 0 / 0.9517 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.512e-05/0.8893, allocations: 18.86 kB / 0.9517 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003539/0.8896, allocations: 302.8 kB / 0.952 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.187e-05/0.8897, allocations: 22.64 kB / 0.952 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.583e-05/0.8897, allocations: 7.609 kB / 0.952 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.095e-06/0.8897, allocations: 0 / 0.952 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001516/0.8899, allocations: 61.02 kB / 0.9521 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 2.164e-06/0.8899, allocations: 5.359 kB / 0.9521 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0002201/0.8901, allocations: 59.03 kB / 0.9522 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.8902, allocations: 55.34 kB / 0.9522 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.843e-05/0.8903, allocations: 111 kB / 0.9523 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.8903, allocations: 27.45 kB / 0.9524 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.657e-05/0.8903, allocations: 96.23 kB / 0.9524 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.085e-05/0.8904, allocations: 11.91 kB / 0.9525 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.238e-05/0.8904, allocations: 30.33 kB / 0.9525 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.669e-05/0.8905, allocations: 316.2 kB / 0.9528 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.011e-05/0.8906, allocations: 30.73 kB / 0.9528 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.549e-05/0.8907, allocations: 52.23 kB / 0.9529 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.8908, allocations: 88.27 kB / 0.953 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.8908, allocations: 0 / 0.953 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002395/0.891, allocations: 138.6 kB / 0.9531 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.949e-05/0.8911, allocations: 40.67 kB / 0.9531 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.8911, allocations: 0 / 0.9531 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.8911, allocations: 1.125 kB / 0.9531 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.364e-05/0.8911, allocations: 5.234 kB / 0.9531 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.8911, allocations: 1.312 kB / 0.9531 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002259/0.8914, allocations: 31.97 kB / 0.9532 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.8914, allocations: 5.656 kB / 0.9532 GB, free: 5.379 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 8.105e-05/0.8915, allocations: 126.9 kB / 0.9533 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.134e-05/0.8915, allocations: 5.125 kB / 0.9533 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.507e-05/0.8915, allocations: 5 kB / 0.9533 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.8916, allocations: 1.438 kB / 0.9533 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.8916, allocations: 0 / 0.9533 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.8916, allocations: 0 / 0.9533 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.8917, allocations: 170 kB / 0.9535 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.8917, allocations: 4 kB / 0.9535 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.474e-06/0.8917, allocations: 5.375 kB / 0.9535 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.8917, allocations: 0 / 0.9535 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.8917, allocations: 0 / 0.9535 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.8917, allocations: 0.9375 kB / 0.9535 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.8917, allocations: 0 / 0.9535 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.873e-05/0.8918, allocations: 79.5 kB / 0.9535 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.028e-05/0.8919, allocations: 82.16 kB / 0.9536 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.8919, allocations: 4.875 kB / 0.9536 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.348e-05/0.8919, allocations: 0 / 0.9536 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.284e-05/0.892, allocations: 2.406 kB / 0.9536 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.892, allocations: 1.281 kB / 0.9536 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.041e-05/0.892, allocations: 91.3 kB / 0.9537 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.892, allocations: 1.219 kB / 0.9537 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002199/0.8922, allocations: 17.91 kB / 0.9537 GB, free: 4.75 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.000176/0.8924, allocations: 99.78 kB / 0.9538 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002263/0.8927, allocations: 131.4 kB / 0.954 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.8927, allocations: 0 / 0.954 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.128e-05/0.8927, allocations: 15.2 kB / 0.954 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.8929, allocations: 7.078 kB / 0.954 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003313/0.8933, allocations: 137.7 kB / 0.9541 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001723/0.8935, allocations: 0.6845 MB / 0.9548 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.263e-05/0.8935, allocations: 6.328 kB / 0.9548 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.646e-05/0.8935, allocations: 12.81 kB / 0.9548 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of SimCode: time 5.61e-07/0.8935, allocations: 0.7188 kB / 0.9548 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of Templates: time 0.003786/0.8973, allocations: 1.009 MB / 0.9558 GB, free: 3.18 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