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) 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.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001857/0.001857, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.34/1.34, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.646/2.646, allocations: 469.8 MB / 0.7424 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002155/0.002155, allocations: 61.64 kB / 0.9087 GB, free: 34.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2538, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001765/0.2556, allocations: 0.6138 MB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.2569, allocations: 1.121 MB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.163e-05/0.257, allocations: 3.938 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.144e-05/0.2571, allocations: 4 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 1.907e-05/0.2571, allocations: 3.938 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004277/0.2576, allocations: 119.2 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.2577, allocations: 99.81 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.744e-05/0.2578, allocations: 7.984 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.161e-05/0.2579, allocations: 31.98 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.34e-05/0.2579, allocations: 23.91 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.258, allocations: 8 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.941e-05/0.258, allocations: 27.92 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.994e-05/0.2581, allocations: 11.98 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.31e-05/0.2582, allocations: 35.84 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.2583, allocations: 88.06 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2583, allocations: 3.984 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2583, allocations: 0 / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.2583, allocations: 0 / 1.066 GB, free: 12 MB / 0.8262 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.0004275/0.2588, allocations: 381.1 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.2588, allocations: 8.031 kB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.595e-05/0.2589, allocations: 38.75 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.708e-05/0.2589, allocations: 8.938 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.2591, allocations: 188.2 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.2591, allocations: 4.375 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.2591, allocations: 8.312 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.416e-05/0.2592, allocations: 50.19 kB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.2592, allocations: 7.922 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-06/0.2593, allocations: 0 / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.2593, allocations: 0 / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.948e-05/0.2593, allocations: 15.98 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003433/0.2596, allocations: 300.8 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.462e-05/0.2597, allocations: 26.52 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.396e-05/0.2597, allocations: 4.859 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.392e-06/0.2597, allocations: 0 / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001221/0.2599, allocations: 63.45 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.2599, allocations: 0 / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0001654/0.26, allocations: 65.53 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.2601, allocations: 59.39 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.084e-05/0.2602, allocations: 105.8 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.2602, allocations: 25.7 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.622e-05/0.2603, allocations: 88.14 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.302e-05/0.2603, allocations: 7.891 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-05/0.2603, allocations: 33.64 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.2605, allocations: 330.8 kB / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.763e-05/0.2606, allocations: 23.98 kB / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.201e-05/0.2606, allocations: 50.56 kB / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.2608, allocations: 80.2 kB / 1.068 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2608, allocations: 0 / 1.068 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002372/0.261, allocations: 147.2 kB / 1.068 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.298e-05/0.261, allocations: 33.7 kB / 1.068 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.2611, allocations: 3.984 kB / 1.068 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.2611, allocations: 4 kB / 1.068 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.146e-05/0.2611, allocations: 0 / 1.068 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.2611, allocations: 0 / 1.068 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.2613, allocations: 28.28 kB / 1.068 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.2613, allocations: 8 kB / 1.068 GB, free: 9.566 MB / 0.8262 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 8.874e-05/0.2614, allocations: 121.9 kB / 1.068 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.536e-06/0.2614, allocations: 0 / 1.068 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.527e-05/0.2615, allocations: 15.91 kB / 1.068 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.2615, allocations: 0 / 1.068 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.2615, allocations: 0 / 1.068 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.2615, allocations: 0 / 1.068 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.2616, allocations: 165.6 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2616, allocations: 3.938 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.979e-06/0.2616, allocations: 0 / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2617, allocations: 4 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.2617, allocations: 7.938 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2617, allocations: 0 / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2617, allocations: 0 / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.2618, allocations: 89.17 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.693e-05/0.2618, allocations: 77.11 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.047e-05/0.2618, allocations: 4 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.233e-05/0.2619, allocations: 0 / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.969e-05/0.2619, allocations: 8 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.2619, allocations: 4 kB / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.505e-05/0.2619, allocations: 83.27 kB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2619, allocations: 0 / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001983/0.2621, allocations: 20 kB / 1.069 GB, free: 8.875 MB / 0.8262 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.0004018/0.2626, allocations: 0.6279 MB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001949/0.2628, allocations: 127.3 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.2628, allocations: 0 / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.439e-05/0.2628, allocations: 8 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000173/0.263, allocations: 11.98 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.2643, allocations: 1.354 MB / 1.071 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.2646, allocations: 0.6922 MB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.642e-05/0.2646, allocations: 4 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.77e-05/0.2647, allocations: 11.44 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of SimCode: time 4.1e-07/0.2647, allocations: 0 / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7671/1.032, allocations: 1.966 MB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/14.33, allocations: 13.86 kB / 1.074 GB, free: 4.027 MB / 0.8262 GB (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) 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/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches