Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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_latest_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_latest_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.0008238/0.0008239, allocations: 99.34 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001045, allocations: 186.4 kB / 16.92 MB, free: 6.75 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.386/1.386, allocations: 223.3 MB / 241 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.798/2.798, allocations: 462.7 MB / 0.7371 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003722/0.0003722, allocations: 8.156 kB / 0.9034 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3214, allocations: 159.6 MB / 1.059 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.0008446/0.3223, allocations: 361.7 kB / 1.06 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001518/0.3238, allocations: 1.12 MB / 1.061 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.399e-05/0.3239, allocations: 0 / 1.061 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.752e-05/0.324, allocations: 0 / 1.061 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.731e-05/0.324, allocations: 7.938 kB / 1.061 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004502/0.3245, allocations: 111 kB / 1.061 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.3246, allocations: 87.75 kB / 1.061 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.493e-05/0.3247, allocations: 4 kB / 1.061 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.267e-05/0.3248, allocations: 31.97 kB / 1.061 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.468e-05/0.3249, allocations: 23.91 kB / 1.061 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.3249, allocations: 4 kB / 1.061 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.456e-05/0.325, allocations: 19.97 kB / 1.061 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.468e-05/0.325, allocations: 4 kB / 1.061 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.607e-05/0.3251, allocations: 57.62 kB / 1.061 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.3253, allocations: 71.78 kB / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3253, allocations: 0 / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3253, allocations: 0 / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.3253, allocations: 0 / 1.061 GB, free: 3.043 MB / 0.8106 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.000438/0.3257, allocations: 361.4 kB / 1.062 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.3258, allocations: 11.97 kB / 1.062 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.128e-05/0.3258, allocations: 8.844 kB / 1.062 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.326, allocations: 184.3 kB / 1.062 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.3261, allocations: 4.375 kB / 1.062 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.3261, allocations: 12.38 kB / 1.062 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.3262, allocations: 46.25 kB / 1.062 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.3262, allocations: 192 / 1.062 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.3262, allocations: 7.922 kB / 1.062 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.3263, allocations: 4 kB / 1.062 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.43e-05/0.3263, allocations: 8 kB / 1.062 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/0.3267, allocations: 312.6 kB / 1.062 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.397e-05/0.3267, allocations: 22.58 kB / 1.062 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.849e-05/0.3268, allocations: 8.844 kB / 1.062 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.023e-06/0.3268, allocations: 0 / 1.062 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000134/0.3269, allocations: 55.47 kB / 1.062 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3269, allocations: 3.938 kB / 1.062 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001757/0.3271, allocations: 61.67 kB / 1.062 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.3272, allocations: 59.41 kB / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.412e-05/0.3273, allocations: 109.8 kB / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.3273, allocations: 33.64 kB / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.981e-05/0.3274, allocations: 84.14 kB / 1.063 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.033e-05/0.3274, allocations: 3.906 kB / 1.063 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.501e-05/0.3274, allocations: 21.7 kB / 1.063 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.3275, allocations: 318.8 kB / 1.063 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.182e-05/0.3276, allocations: 31.92 kB / 1.063 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.356e-05/0.3277, allocations: 50.58 kB / 1.063 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.3278, allocations: 88.19 kB / 1.063 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3278, allocations: 0 / 1.063 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002388/0.3281, allocations: 139.3 kB / 1.063 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.664e-05/0.3281, allocations: 37.69 kB / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.3281, allocations: 8.094 kB / 1.063 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.3281, allocations: 0 / 1.063 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.591e-05/0.3282, allocations: 0 / 1.063 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.3282, allocations: 3.938 kB / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002443/0.3284, allocations: 35.97 kB / 1.063 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.3285, allocations: 7.984 kB / 1.063 GB, free: 0.6719 MB / 0.8106 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.862e-05/0.3286, allocations: 121.8 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.328e-05/0.3286, allocations: 7.906 kB / 1.063 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.184e-05/0.3286, allocations: 4.141 kB / 1.063 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3286, allocations: 320 / 1.063 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-05/0.3286, allocations: 7.969 kB / 1.063 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3286, allocations: 0 / 1.063 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.3288, allocations: 169.6 kB / 1.064 GB, free: 312 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3288, allocations: 0 / 1.064 GB, free: 312 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.336e-06/0.3288, allocations: 4 kB / 1.064 GB, free: 308 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3288, allocations: 4 kB / 1.064 GB, free: 304 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.3288, allocations: 3.984 kB / 1.064 GB, free: 300 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3288, allocations: 0 / 1.064 GB, free: 300 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3288, allocations: 0 / 1.064 GB, free: 300 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.3289, allocations: 89.02 kB / 1.064 GB, free: 192 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.939e-05/0.329, allocations: 81.02 kB / 1.064 GB, free: 92 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.329, allocations: 0 / 1.064 GB, free: 92 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.424e-05/0.329, allocations: 0 / 1.064 GB, free: 92 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.3291, allocations: 11.98 kB / 1.064 GB, free: 80 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.3291, allocations: 0 / 1.064 GB, free: 80 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.161e-05/0.3291, allocations: 83.28 kB / 1.064 GB, free: 16 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3291, allocations: 0 / 1.064 GB, free: 16 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002121/0.3294, allocations: 16 kB / 1.064 GB, free: 15.98 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: 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.0001406/0.3295, allocations: 107.2 kB / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002066/0.3297, allocations: 131.2 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3297, allocations: 4.188 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.362e-05/0.3298, allocations: 15.94 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.33, allocations: 7.984 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003075/0.3303, allocations: 160.4 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.3306, allocations: 0.6809 MB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.793e-05/0.3306, allocations: 15.44 kB / 1.065 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of SimCode: time 3.61e-07/0.3306, allocations: 0 / 1.065 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of Templates: time 0.002478/0.3331, allocations: 0.916 MB / 1.066 GB, free: 13.88 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches