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.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.0008418/0.0008418, 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.0009209/0.0009209, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9121/0.9121, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.806/1.806, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.967e-05/2.232e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001297/0.001319, allocations: 0.618 MB / 1 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.002429, allocations: 1.128 MB / 1.001 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.674e-05/0.002486, allocations: 4 kB / 1.001 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.002587, allocations: 11.92 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 2.885e-05/0.002615, allocations: 3.938 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004973/0.003113, allocations: 125.1 kB / 1.002 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.003266, allocations: 95.81 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.553e-05/0.003352, allocations: 7.938 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.471e-05/0.003416, allocations: 39.97 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 9.19e-05/0.003508, allocations: 31.94 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.003526, allocations: 8 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.299e-05/0.003579, allocations: 23.98 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.817e-05/0.003637, allocations: 11.94 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.695e-05/0.003684, allocations: 27.97 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.003834, allocations: 107.7 kB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.003836, allocations: 0 / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.313e-06/0.003838, allocations: 0 / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.003843, allocations: 0 / 1.002 GB, free: 11.24 MB / 0.9636 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.0003576/0.0042, allocations: 303.9 kB / 1.002 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.004239, allocations: 12.75 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.376e-05/0.004263, allocations: 30.75 kB / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.555e-05/0.004298, allocations: 8.938 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.004434, allocations: 129.7 kB / 1.002 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.004444, allocations: 384 / 1.002 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.004459, allocations: 8.375 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.379e-05/0.004553, allocations: 46.25 kB / 1.002 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.00456, allocations: 192 / 1.002 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.004574, allocations: 384 / 1.002 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.004579, allocations: 4.125 kB / 1.002 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.836e-05/0.004608, allocations: 19.92 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002848/0.004892, allocations: 252 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.076e-05/0.004933, allocations: 22.52 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.444e-05/0.004948, allocations: 16.92 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-06/0.004955, allocations: 3.938 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001296/0.005085, allocations: 75.31 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.005086, allocations: 0 / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0001587/0.005244, allocations: 57.69 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.005279, allocations: 59.34 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.33e-05/0.005343, allocations: 105.8 kB / 1.003 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.005359, allocations: 29.64 kB / 1.003 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.18e-05/0.005401, allocations: 100.1 kB / 1.003 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 9.969e-06/0.005411, allocations: 7.891 kB / 1.003 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.386e-05/0.005455, allocations: 33.7 kB / 1.003 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.689e-05/0.005541, allocations: 318.8 kB / 1.003 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.389e-05/0.005615, allocations: 61.67 kB / 1.003 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.542e-05/0.005681, allocations: 76.27 kB / 1.004 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.421e-05/0.005755, allocations: 80.2 kB / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.005758, allocations: 3.938 kB / 1.004 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001765/0.005935, allocations: 180.9 kB / 1.004 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.181e-05/0.005966, allocations: 33.7 kB / 1.004 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.005972, allocations: 96 / 1.004 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.005985, allocations: 8 kB / 1.004 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.595e-05/0.006001, allocations: 0 / 1.004 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.006007, allocations: 0 / 1.004 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.006151, allocations: 27.95 kB / 1.004 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.006167, allocations: 12 kB / 1.004 GB, free: 8.895 MB / 0.9636 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 7.224e-05/0.006239, allocations: 113.8 kB / 1.004 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.173e-06/0.006247, allocations: 3.953 kB / 1.004 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.409e-05/0.006271, allocations: 15.98 kB / 1.004 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.006273, allocations: 4 kB / 1.004 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.006277, allocations: 0 / 1.004 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.006281, allocations: 0 / 1.004 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.503e-05/0.006366, allocations: 132.7 kB / 1.004 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.006367, allocations: 0 / 1.004 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.938e-06/0.006371, allocations: 0 / 1.004 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.006372, allocations: 0 / 1.004 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.006379, allocations: 4 kB / 1.004 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.00638, allocations: 320 / 1.004 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.006382, allocations: 3.938 kB / 1.004 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.493e-05/0.006467, allocations: 89.05 kB / 1.004 GB, free: 8.457 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.152e-06/0.006473, allocations: 7.953 kB / 1.004 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.847e-06/0.006482, allocations: 0 / 1.004 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.238e-06/0.006491, allocations: 0 / 1.004 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.213e-05/0.006513, allocations: 7.938 kB / 1.004 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.006517, allocations: 0 / 1.004 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.944e-05/0.006547, allocations: 87.27 kB / 1.004 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006547, allocations: 0 / 1.004 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001501/0.006697, allocations: 16 kB / 1.004 GB, free: 8.34 MB / 0.9636 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.0002831/0.00698, allocations: 0.6205 MB / 1.005 GB, free: 7.691 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001627/0.007142, allocations: 141.1 kB / 1.005 GB, free: 7.535 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.007144, allocations: 0 / 1.005 GB, free: 7.535 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.957e-05/0.007164, allocations: 15.92 kB / 1.005 GB, free: 7.52 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.007323, allocations: 11.94 kB / 1.005 GB, free: 7.508 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.008362, allocations: 1.499 MB / 1.007 GB, free: 5.883 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.687e-05/0.008419, allocations: 63.34 kB / 1.007 GB, free: 5.801 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.152e-05/0.00844, allocations: 0 / 1.007 GB, free: 5.801 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.485e-05/0.008475, allocations: 20.69 kB / 1.007 GB, free: 5.781 MB / 0.9636 GB Notification: Performance of SimCode: time 5.71e-07/0.008476, allocations: 0 / 1.007 GB, free: 5.781 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01628/0.02476, allocations: 2.742 MB / 1.009 GB, free: 3.199 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.762/6.787, allocations: 0 / 1.009 GB, free: 3.199 MB / 0.9636 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv","/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) [Timeout 300] "Error: Failed to open simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv: Error: Error opening file: Buildings_latest_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: 11.017515654675663]