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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 114.7 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 189.9 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 225.6 MB / 249.4 MB, free: 3.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.735/2.735, allocations: 476.7 MB / 0.7629 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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 0.001899/0.001899, allocations: 67.89 kB / 1.107 GB, free: 5.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9132/0.9151, allocations: 168.7 MB / 1.272 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001867/0.917, allocations: 0.6434 MB / 1.272 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.9183, allocations: 1.118 MB / 1.273 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.909e-05/0.9183, allocations: 4.719 kB / 1.273 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 8.596e-05/0.9184, allocations: 0.5625 kB / 1.273 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.454e-05/0.9184, allocations: 10.48 kB / 1.273 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004724/0.9189, allocations: 125.7 kB / 1.273 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.9191, allocations: 88.12 kB / 1.273 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.417e-05/0.9191, allocations: 6.875 kB / 1.273 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.779e-05/0.9192, allocations: 38.83 kB / 1.273 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.9193, allocations: 36.08 kB / 1.274 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.9193, allocations: 7.688 kB / 1.274 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.831e-05/0.9194, allocations: 26.88 kB / 1.274 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.841e-05/0.9195, allocations: 5.297 kB / 1.274 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.633e-05/0.9195, allocations: 31.64 kB / 1.274 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.9197, allocations: 86.55 kB / 1.274 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.9197, allocations: 4.75 kB / 1.274 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.283e-06/0.9197, allocations: 3.938 kB / 1.274 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.9197, allocations: 0.625 kB / 1.274 GB, free: 6.289 MB / 0.9981 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.0003733/0.9201, allocations: 381.3 kB / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.9201, allocations: 9.688 kB / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.759e-05/0.9201, allocations: 31.81 kB / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.733e-05/0.9202, allocations: 6.719 kB / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.9203, allocations: 189.3 kB / 1.274 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.9203, allocations: 2.531 kB / 1.274 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.9203, allocations: 9.75 kB / 1.274 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.654e-05/0.9204, allocations: 51.94 kB / 1.274 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.9204, allocations: 4.781 kB / 1.274 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.9204, allocations: 0 / 1.274 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.9204, allocations: 0.875 kB / 1.274 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.006e-05/0.9205, allocations: 12.28 kB / 1.274 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002595/0.9207, allocations: 300.2 kB / 1.275 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.817e-05/0.9208, allocations: 22.58 kB / 1.275 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.357e-05/0.9208, allocations: 10.7 kB / 1.275 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.935e-06/0.9208, allocations: 2.547 kB / 1.275 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000126/0.9209, allocations: 55.14 kB / 1.275 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.9209, allocations: 0.875 kB / 1.275 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0001595/0.9211, allocations: 68.25 kB / 1.275 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/0.9211, allocations: 52.47 kB / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.086e-05/0.9211, allocations: 118.2 kB / 1.275 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.9212, allocations: 27.86 kB / 1.275 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.597e-05/0.9212, allocations: 88.25 kB / 1.275 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.089e-05/0.9212, allocations: 6.891 kB / 1.275 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-05/0.9213, allocations: 31.64 kB / 1.275 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.078e-05/0.9213, allocations: 316.2 kB / 1.275 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.086e-05/0.9214, allocations: 26.88 kB / 1.275 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.205e-05/0.9214, allocations: 52.14 kB / 1.275 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.818e-05/0.9215, allocations: 80.83 kB / 1.276 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.9215, allocations: 4.656 kB / 1.276 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002204/0.9218, allocations: 150.9 kB / 1.276 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/0.9218, allocations: 39.66 kB / 1.276 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.9218, allocations: 1.016 kB / 1.276 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.9218, allocations: 0.9688 kB / 1.276 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.438e-05/0.9218, allocations: 5.875 kB / 1.276 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.9218, allocations: 1.656 kB / 1.276 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.922, allocations: 24.06 kB / 1.276 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.922, allocations: 12.09 kB / 1.276 GB, free: 4.266 MB / 0.9981 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 6.001e-05/0.9221, allocations: 123.2 kB / 1.276 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.089e-05/0.9221, allocations: 8.344 kB / 1.276 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.973e-05/0.9221, allocations: 4.688 kB / 1.276 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.9221, allocations: 4.812 kB / 1.276 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.9221, allocations: 0 / 1.276 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.9221, allocations: 0.75 kB / 1.276 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.428e-05/0.9222, allocations: 170.5 kB / 1.276 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.9222, allocations: 1.125 kB / 1.276 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.76e-06/0.9222, allocations: 1.125 kB / 1.276 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.9222, allocations: 0 / 1.276 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.9222, allocations: 3.359 kB / 1.276 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.9222, allocations: 0 / 1.276 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.9222, allocations: 0 / 1.276 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.151e-05/0.9223, allocations: 85.2 kB / 1.276 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.561e-05/0.9223, allocations: 78.11 kB / 1.276 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.9223, allocations: 1.094 kB / 1.276 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.437e-05/0.9224, allocations: 1.094 kB / 1.276 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.108e-05/0.9224, allocations: 6.328 kB / 1.276 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.9224, allocations: 3.109 kB / 1.276 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.586e-05/0.9224, allocations: 89.17 kB / 1.276 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.9224, allocations: 0 / 1.276 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000208/0.9226, allocations: 27.06 kB / 1.276 GB, free: 3.648 MB / 0.9981 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.0002702/0.9229, allocations: 0.6147 MB / 1.277 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001885/0.9231, allocations: 109.6 kB / 1.277 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.9231, allocations: 0.9375 kB / 1.277 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.772e-05/0.9231, allocations: 16.22 kB / 1.277 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001967/0.9233, allocations: 10.12 kB / 1.277 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.9246, allocations: 1.387 MB / 1.278 GB, free: 17.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.9249, allocations: 0.6799 MB / 1.279 GB, free: 17 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.912e-05/0.9249, allocations: 3.484 kB / 1.279 GB, free: 17 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.733e-05/0.9249, allocations: 20.09 kB / 1.279 GB, free: 16.98 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.9249, allocations: 0 / 1.279 GB, free: 16.98 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02547/0.9504, allocations: 1.982 MB / 1.281 GB, free: 16.56 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.329/10.28, allocations: 8.094 kB / 1.281 GB, free: 16.56 MB / 1.014 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.162121242989087]