Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008929/0.0008929, allocations: 72.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9357/0.9357, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.633/1.633, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 0.9505 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.844e-05/2.104e-05, allocations: 4.953 kB / 0.9505 GB, free: 3.512 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001173/0.001194, allocations: 0.6298 MB / 0.9511 GB, free: 2.875 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000974/0.002168, allocations: 1.128 MB / 0.9522 GB, free: 1.734 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.312e-05/0.002211, allocations: 4 kB / 0.9522 GB, free: 1.73 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 8.448e-05/0.002296, allocations: 3.938 kB / 0.9522 GB, free: 1.727 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 1.996e-05/0.002316, allocations: 7.922 kB / 0.9522 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003825/0.002698, allocations: 127.2 kB / 0.9523 GB, free: 1.598 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.002824, allocations: 87.89 kB / 0.9524 GB, free: 1.512 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 7.902e-05/0.002903, allocations: 4 kB / 0.9524 GB, free: 1.508 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.576e-05/0.002968, allocations: 51.89 kB / 0.9525 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 8.654e-05/0.003055, allocations: 27.95 kB / 0.9525 GB, free: 1.43 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.003074, allocations: 8 kB / 0.9525 GB, free: 1.422 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.158e-05/0.003126, allocations: 15.98 kB / 0.9525 GB, free: 1.406 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 6.232e-05/0.003188, allocations: 15.92 kB / 0.9525 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.643e-05/0.003235, allocations: 27.97 kB / 0.9526 GB, free: 1.363 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.003382, allocations: 107.8 kB / 0.9527 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.003385, allocations: 0 / 0.9527 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.293e-06/0.003386, allocations: 0 / 0.9527 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.00339, allocations: 3.938 kB / 0.9527 GB, free: 1.254 MB / 0.9011 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.0003365/0.003726, allocations: 307.9 kB / 0.953 GB, free: 0.9141 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.003761, allocations: 12.03 kB / 0.953 GB, free: 0.9023 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.58e-05/0.003787, allocations: 38.73 kB / 0.953 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.16e-05/0.003819, allocations: 8.875 kB / 0.953 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.003946, allocations: 117.8 kB / 0.9531 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.003954, allocations: 384 / 0.9531 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.003969, allocations: 8.375 kB / 0.9532 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.563e-05/0.004055, allocations: 50.25 kB / 0.9532 GB, free: 0.6445 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.004063, allocations: 192 / 0.9532 GB, free: 0.6445 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.004072, allocations: 4.359 kB / 0.9532 GB, free: 0.6406 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.004081, allocations: 4.125 kB / 0.9532 GB, free: 0.6367 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.569e-05/0.004107, allocations: 15.94 kB / 0.9532 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002566/0.004364, allocations: 252 kB / 0.9535 GB, free: 340 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 3.923e-05/0.004403, allocations: 22.52 kB / 0.9535 GB, free: 308 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.393e-05/0.004417, allocations: 16.86 kB / 0.9535 GB, free: 288 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.041e-06/0.004423, allocations: 0 / 0.9535 GB, free: 288 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001106/0.004534, allocations: 67.39 kB / 0.9536 GB, free: 208 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.004534, allocations: 4 kB / 0.9536 GB, free: 204 kB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0001581/0.004692, allocations: 61.83 kB / 0.9536 GB, free: 136 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.004725, allocations: 63.33 kB / 0.9537 GB, free: 60 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.983e-05/0.004795, allocations: 105.8 kB / 0.9538 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.004812, allocations: 29.7 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.412e-05/0.004846, allocations: 84.14 kB / 0.9539 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 8.727e-06/0.004855, allocations: 7.891 kB / 0.9539 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/0.004895, allocations: 33.7 kB / 0.9539 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.129e-05/0.004967, allocations: 314.8 kB / 0.9542 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.176e-05/0.005028, allocations: 61.67 kB / 0.9543 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.183e-05/0.00509, allocations: 80.27 kB / 0.9544 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.807e-05/0.005158, allocations: 84.23 kB / 0.9545 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.005161, allocations: 3.938 kB / 0.9545 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000167/0.005328, allocations: 184.9 kB / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/0.005356, allocations: 33.7 kB / 0.9547 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.00536, allocations: 0 / 0.9547 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.005373, allocations: 4 kB / 0.9547 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.482e-05/0.005388, allocations: 3.984 kB / 0.9547 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.005392, allocations: 4.094 kB / 0.9547 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.005518, allocations: 27.97 kB / 0.9547 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.005532, allocations: 8 kB / 0.9547 GB, free: 14.91 MB / 0.9167 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.921e-05/0.005591, allocations: 113.8 kB / 0.9548 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.861e-06/0.005597, allocations: 4 kB / 0.9548 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.193e-05/0.005619, allocations: 11.98 kB / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.005621, allocations: 0 / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.005623, allocations: 0 / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.005627, allocations: 0 / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.587e-05/0.005702, allocations: 140.7 kB / 0.955 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.005703, allocations: 3.938 kB / 0.955 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.066e-06/0.005706, allocations: 0 / 0.955 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.00571, allocations: 4 kB / 0.955 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-06/0.005715, allocations: 3.938 kB / 0.955 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.005716, allocations: 0 / 0.955 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.005716, allocations: 320 / 0.955 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.264e-05/0.005789, allocations: 89 kB / 0.9551 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.2e-06/0.005794, allocations: 0 / 0.9551 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-06/0.005804, allocations: 4 kB / 0.9551 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.007e-06/0.005813, allocations: 0 / 0.9551 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.213e-05/0.005835, allocations: 15.98 kB / 0.9551 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.005838, allocations: 0 / 0.9551 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.539e-05/0.005864, allocations: 79.28 kB / 0.9552 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.005864, allocations: 4 kB / 0.9552 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000147/0.006011, allocations: 12 kB / 0.9552 GB, free: 14.36 MB / 0.9167 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.0002997/0.00631, allocations: 0.6279 MB / 0.9558 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001517/0.006462, allocations: 133.1 kB / 0.9559 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.006464, allocations: 4 kB / 0.9559 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.662e-05/0.006481, allocations: 16.12 kB / 0.9559 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.006632, allocations: 8.5 kB / 0.9559 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009448/0.007577, allocations: 1.493 MB / 0.9574 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.06e-05/0.007617, allocations: 71.28 kB / 0.9575 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.769e-05/0.007635, allocations: 4 kB / 0.9575 GB, free: 11.81 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.925e-05/0.007664, allocations: 12.5 kB / 0.9575 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of SimCode: time 7.62e-07/0.007665, allocations: 0 / 0.9575 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01924/0.0269, allocations: 2.732 MB / 0.9602 GB, free: 9.227 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.75/6.777, allocations: 13.64 kB / 0.9602 GB, free: 9.219 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Failed to open simulation result Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv: Error: Error opening file: Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv " [Timeout remaining time 300] "" Variables in the reference:time,booRep.u,booRep.y[1],booRep.y[2],booRep.y[3] Variables in the result: [Calling sys.exit(0), Time elapsed: 10.865684487856925]