Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009708/0.0009708, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001001/0.001001, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8939/0.8939, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.708/1.708, allocations: 377.8 MB / 0.6221 GB, free: 8.633 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.068e-06/4.068e-06, allocations: 3.938 kB / 0.981 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.487e-05/2.893e-05, allocations: 4.953 kB / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001255/0.001284, allocations: 0.6297 MB / 0.9816 GB, free: 1.93 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.002528, allocations: 1.135 MB / 0.9827 GB, free: 0.7812 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.559e-05/0.002574, allocations: 0 / 0.9827 GB, free: 0.7812 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 9.293e-05/0.002667, allocations: 3.938 kB / 0.9827 GB, free: 0.7773 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 2.149e-05/0.002688, allocations: 7.922 kB / 0.9827 GB, free: 0.7695 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003823/0.003071, allocations: 121.7 kB / 0.9828 GB, free: 0.6523 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.003198, allocations: 87.89 kB / 0.9829 GB, free: 0.5664 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.805e-05/0.003286, allocations: 15.92 kB / 0.9829 GB, free: 0.5508 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.173e-05/0.003358, allocations: 43.95 kB / 0.9829 GB, free: 0.5078 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 9.588e-05/0.003454, allocations: 27.95 kB / 0.983 GB, free: 492 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.003473, allocations: 8 kB / 0.983 GB, free: 484 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 5.636e-05/0.00353, allocations: 19.98 kB / 0.983 GB, free: 464 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 5.618e-05/0.003586, allocations: 11.92 kB / 0.983 GB, free: 452 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 4.563e-05/0.003631, allocations: 27.98 kB / 0.983 GB, free: 424 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.003778, allocations: 107.7 kB / 0.9831 GB, free: 316 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.003781, allocations: 0 / 0.9831 GB, free: 316 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.754e-06/0.003783, allocations: 0 / 0.9831 GB, free: 316 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.003787, allocations: 7.938 kB / 0.9831 GB, free: 308 kB / 0.9323 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.0003638/0.00415, allocations: 304 kB / 0.9834 GB, free: 15.96 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.004187, allocations: 12.03 kB / 0.9835 GB, free: 15.95 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.407e-05/0.004211, allocations: 30.75 kB / 0.9835 GB, free: 15.91 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.208e-05/0.004243, allocations: 4.938 kB / 0.9835 GB, free: 15.91 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.004387, allocations: 129.8 kB / 0.9836 GB, free: 15.76 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.004397, allocations: 384 / 0.9836 GB, free: 15.76 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.004413, allocations: 8.375 kB / 0.9836 GB, free: 15.75 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.895e-05/0.004502, allocations: 42.25 kB / 0.9837 GB, free: 15.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.00451, allocations: 192 / 0.9837 GB, free: 15.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.004518, allocations: 4.375 kB / 0.9837 GB, free: 15.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.004523, allocations: 8.125 kB / 0.9837 GB, free: 15.69 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.641e-05/0.00455, allocations: 15.92 kB / 0.9837 GB, free: 15.68 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000276/0.004826, allocations: 255.9 kB / 0.9839 GB, free: 15.38 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.09e-05/0.004867, allocations: 22.5 kB / 0.984 GB, free: 15.35 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.611e-05/0.004883, allocations: 16.92 kB / 0.984 GB, free: 15.33 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.691e-06/0.004888, allocations: 3.938 kB / 0.984 GB, free: 15.33 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001323/0.005021, allocations: 63.33 kB / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.005022, allocations: 0 / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0001539/0.005176, allocations: 61.64 kB / 0.9841 GB, free: 15.19 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/0.00521, allocations: 59.41 kB / 0.9841 GB, free: 15.12 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.729e-05/0.005277, allocations: 105.8 kB / 0.9842 GB, free: 15 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.005292, allocations: 25.7 kB / 0.9843 GB, free: 14.97 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.041e-05/0.005332, allocations: 96.09 kB / 0.9844 GB, free: 14.88 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.673e-06/0.005339, allocations: 0 / 0.9844 GB, free: 14.88 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-05/0.005382, allocations: 37.69 kB / 0.9844 GB, free: 14.83 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.446e-05/0.005456, allocations: 314.8 kB / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.346e-05/0.00552, allocations: 61.56 kB / 0.9848 GB, free: 14.45 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.618e-05/0.005586, allocations: 84.25 kB / 0.9848 GB, free: 14.35 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.974e-05/0.005656, allocations: 80.27 kB / 0.9849 GB, free: 14.26 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.005659, allocations: 3.938 kB / 0.9849 GB, free: 14.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001707/0.005829, allocations: 180.9 kB / 0.9851 GB, free: 14.06 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.901e-05/0.005858, allocations: 37.69 kB / 0.9851 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.005863, allocations: 0 / 0.9851 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.005876, allocations: 7.938 kB / 0.9851 GB, free: 14.01 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.45e-05/0.00589, allocations: 240 / 0.9851 GB, free: 14.01 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.005895, allocations: 0 / 0.9851 GB, free: 14.01 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.006025, allocations: 24.06 kB / 0.9852 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.006039, allocations: 15.98 kB / 0.9852 GB, free: 13.97 MB / 0.948 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.551e-05/0.006104, allocations: 117.8 kB / 0.9853 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.141e-06/0.00611, allocations: 3.984 kB / 0.9853 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.98e-05/0.00613, allocations: 12.31 kB / 0.9853 GB, free: 13.83 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.006132, allocations: 0 / 0.9853 GB, free: 13.83 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.006136, allocations: 0 / 0.9853 GB, free: 13.83 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.00614, allocations: 4 kB / 0.9853 GB, free: 13.82 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.497e-05/0.006225, allocations: 140.6 kB / 0.9854 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.006226, allocations: 0 / 0.9854 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.278e-06/0.00623, allocations: 0 / 0.9854 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.006233, allocations: 8 kB / 0.9854 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.006238, allocations: 0 / 0.9854 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.00624, allocations: 0 / 0.9854 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.00624, allocations: 0 / 0.9854 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.9e-05/0.006319, allocations: 85 kB / 0.9855 GB, free: 13.54 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.899e-06/0.006324, allocations: 0 / 0.9855 GB, free: 13.54 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.909e-06/0.006334, allocations: 3.984 kB / 0.9855 GB, free: 13.53 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.2e-05/0.006346, allocations: 4 kB / 0.9855 GB, free: 13.53 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.106e-05/0.006367, allocations: 0 / 0.9855 GB, free: 13.53 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.006371, allocations: 0 / 0.9855 GB, free: 13.53 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.844e-05/0.0064, allocations: 91.2 kB / 0.9856 GB, free: 13.44 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.0064, allocations: 8 kB / 0.9856 GB, free: 13.43 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001422/0.006542, allocations: 15.94 kB / 0.9856 GB, free: 13.41 MB / 0.948 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.0002818/0.006824, allocations: 0.624 MB / 0.9863 GB, free: 12.76 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001599/0.006984, allocations: 141 kB / 0.9864 GB, free: 12.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.006986, allocations: 4 kB / 0.9864 GB, free: 12.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.732e-05/0.007003, allocations: 7.938 kB / 0.9864 GB, free: 12.59 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.007172, allocations: 11.98 kB / 0.9864 GB, free: 12.58 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009934/0.008166, allocations: 1.489 MB / 0.9879 GB, free: 10.96 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.306e-05/0.008209, allocations: 63.34 kB / 0.9879 GB, free: 10.88 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.191e-05/0.008231, allocations: 8.234 kB / 0.9879 GB, free: 10.87 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.011e-05/0.008261, allocations: 12.5 kB / 0.9879 GB, free: 10.86 MB / 0.948 GB Notification: Performance of SimCode: time 7.62e-07/0.008261, allocations: 0 / 0.9879 GB, free: 10.86 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01713/0.02539, allocations: 2.758 MB / 0.9906 GB, free: 8.273 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.674/6.7, allocations: 8.391 kB / 0.9906 GB, free: 8.27 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv: Error: Error opening file: Buildings_12_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.837765958160162]