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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.005526/0.005526, allocations: 101.8 kB / 15.73 MB, free: 5.992 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.001121/0.001121, allocations: 189.5 kB / 16.67 MB, free: 5.914 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.808/2.808, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 63.91 kB / 1.054 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3871, allocations: 157.4 MB / 1.208 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001884/0.3891, allocations: 0.6157 MB / 1.208 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00148/0.3906, allocations: 1.112 MB / 1.209 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.624e-05/0.3906, allocations: 0 / 1.209 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.3907, allocations: 7.938 kB / 1.209 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.545e-05/0.3908, allocations: 7.938 kB / 1.209 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004891/0.3913, allocations: 127.7 kB / 1.21 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.3914, allocations: 95.81 kB / 1.21 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.166e-05/0.3915, allocations: 8 kB / 1.21 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.627e-05/0.3916, allocations: 35.91 kB / 1.21 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.3917, allocations: 35.89 kB / 1.21 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.3917, allocations: 12 kB / 1.21 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.007e-05/0.3918, allocations: 27.92 kB / 1.21 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.402e-05/0.3919, allocations: 7.984 kB / 1.21 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.37e-05/0.392, allocations: 31.92 kB / 1.21 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.3921, allocations: 87.72 kB / 1.21 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3921, allocations: 0 / 1.21 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3921, allocations: 0 / 1.21 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.3922, allocations: 0 / 1.21 GB, free: 7.406 MB / 0.9669 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.0004917/0.3926, allocations: 385.1 kB / 1.21 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.3927, allocations: 12.56 kB / 1.21 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.198e-05/0.3928, allocations: 8.938 kB / 1.21 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.393, allocations: 184.2 kB / 1.21 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.393, allocations: 4.375 kB / 1.21 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.393, allocations: 8.375 kB / 1.21 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.3931, allocations: 50.25 kB / 1.211 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.3931, allocations: 192 / 1.211 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.3932, allocations: 3.938 kB / 1.211 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3932, allocations: 0 / 1.211 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.397e-05/0.3932, allocations: 15.98 kB / 1.211 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/0.3936, allocations: 300.8 kB / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.515e-05/0.3936, allocations: 22.58 kB / 1.211 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.758e-05/0.3937, allocations: 8.922 kB / 1.211 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.376e-06/0.3937, allocations: 0 / 1.211 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001537/0.3938, allocations: 67.72 kB / 1.211 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3938, allocations: 0 / 1.211 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0001894/0.394, allocations: 65.69 kB / 1.211 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.3941, allocations: 51.41 kB / 1.211 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.3942, allocations: 109.8 kB / 1.211 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.3942, allocations: 29.7 kB / 1.211 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.153e-05/0.3943, allocations: 92.03 kB / 1.211 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.835e-06/0.3943, allocations: 4 kB / 1.211 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.004e-05/0.3944, allocations: 29.7 kB / 1.211 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.3945, allocations: 318.8 kB / 1.212 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.834e-05/0.3946, allocations: 31.98 kB / 1.212 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.449e-05/0.3946, allocations: 54.48 kB / 1.212 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.3948, allocations: 76.22 kB / 1.212 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3948, allocations: 3.984 kB / 1.212 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000225/0.395, allocations: 147.3 kB / 1.212 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.725e-05/0.395, allocations: 37.7 kB / 1.212 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.395, allocations: 0 / 1.212 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.3951, allocations: 0 / 1.212 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.972e-05/0.3951, allocations: 7.938 kB / 1.212 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.3951, allocations: 3.938 kB / 1.212 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.3953, allocations: 31.95 kB / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.3954, allocations: 4 kB / 1.212 GB, free: 5.012 MB / 0.9669 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 9.295e-05/0.3954, allocations: 121.8 kB / 1.212 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.207e-06/0.3955, allocations: 4.234 kB / 1.212 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.687e-05/0.3955, allocations: 7.891 kB / 1.212 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3955, allocations: 3.984 kB / 1.212 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.3955, allocations: 0 / 1.212 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.3955, allocations: 4 kB / 1.212 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.3957, allocations: 157.6 kB / 1.212 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3957, allocations: 4.312 kB / 1.212 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.19e-06/0.3957, allocations: 0 / 1.212 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.3957, allocations: 4 kB / 1.212 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.3957, allocations: 7.984 kB / 1.212 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3957, allocations: 0 / 1.212 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.3957, allocations: 0 / 1.212 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.3959, allocations: 88.91 kB / 1.212 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.244e-05/0.3959, allocations: 77.11 kB / 1.212 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.3959, allocations: 4 kB / 1.212 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.31e-05/0.396, allocations: 0 / 1.212 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.311e-05/0.396, allocations: 7.984 kB / 1.212 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.396, allocations: 4 kB / 1.212 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.271e-05/0.3961, allocations: 79.28 kB / 1.213 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3961, allocations: 0 / 1.213 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002179/0.3963, allocations: 20 kB / 1.213 GB, free: 4.324 MB / 0.9669 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.0001777/0.3965, allocations: 107.2 kB / 1.213 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002459/0.3967, allocations: 123.2 kB / 1.213 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.3967, allocations: 0 / 1.213 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.964e-05/0.3968, allocations: 16.12 kB / 1.213 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.397, allocations: 15.98 kB / 1.213 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003155/0.3973, allocations: 129.9 kB / 1.213 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.3976, allocations: 0.6807 MB / 1.214 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.968e-05/0.3977, allocations: 3.984 kB / 1.214 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.592e-05/0.3977, allocations: 11.44 kB / 1.214 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.3977, allocations: 0 / 1.214 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of Templates: time 0.003647/0.4013, allocations: 1.064 MB / 1.215 GB, free: 2.121 MB / 0.9669 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/jenkins/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