Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="Buildings_10_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.0009481/0.0009483, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005945/0.005945, allocations: 172 kB / 16.27 MB, free: 6.652 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.316/1.316, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.513/2.513, allocations: 437.8 MB / 0.7121 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003503/0.0003503, allocations: 12 kB / 0.873 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6261/0.6264, allocations: 153.8 MB / 1.023 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.0009218/0.6274, allocations: 356.4 kB / 1.023 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001562/0.629, allocations: 1.124 MB / 1.025 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.763e-05/0.629, allocations: 0 / 1.025 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.254e-05/0.6291, allocations: 0 / 1.025 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 2.577e-05/0.6292, allocations: 7.938 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004889/0.6297, allocations: 111.7 kB / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.6299, allocations: 79.83 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.683e-05/0.63, allocations: 7.938 kB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.954e-05/0.63, allocations: 27.97 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.719e-05/0.6301, allocations: 31.89 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.6302, allocations: 4 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.229e-05/0.6303, allocations: 8 kB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.628e-05/0.6303, allocations: 11.98 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.843e-05/0.6304, allocations: 53.61 kB / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.6306, allocations: 90.02 kB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.6306, allocations: 0 / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6306, allocations: 3.938 kB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.6306, allocations: 4 kB / 1.025 GB, free: 13.98 MB / 0.7794 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.0004765/0.6311, allocations: 369.1 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.6312, allocations: 11.97 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000186/0.6313, allocations: 30.75 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.798e-05/0.6314, allocations: 8.844 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.6316, allocations: 184.3 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.6316, allocations: 4.375 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.594e-05/0.6317, allocations: 12.38 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.6318, allocations: 42.25 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.6318, allocations: 3.938 kB / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.6318, allocations: 0 / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.6318, allocations: 0 / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.286e-05/0.6319, allocations: 19.92 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005287/0.6324, allocations: 308.8 kB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.906e-05/0.6325, allocations: 14.58 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.695e-05/0.6325, allocations: 8.922 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.464e-06/0.6326, allocations: 0 / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001125/0.6327, allocations: 63.33 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.6327, allocations: 0 / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0001767/0.6329, allocations: 61.69 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.6329, allocations: 55.39 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.552e-05/0.633, allocations: 105.9 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.633, allocations: 33.69 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.21e-05/0.6331, allocations: 88.05 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.6331, allocations: 15.83 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/0.6332, allocations: 13.72 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002096/0.6334, allocations: 326.8 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.727e-05/0.6334, allocations: 27.92 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.509e-05/0.6335, allocations: 50.56 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.6336, allocations: 80.27 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6337, allocations: 3.938 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002217/0.6339, allocations: 139.3 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.851e-05/0.634, allocations: 37.78 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.634, allocations: 4 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.634, allocations: 7.938 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.284e-05/0.634, allocations: 0 / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.634, allocations: 0 / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.6343, allocations: 40.22 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.6343, allocations: 15.98 kB / 1.027 GB, free: 11.56 MB / 0.7794 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.433e-05/0.6344, allocations: 114.3 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.319e-05/0.6344, allocations: 11.91 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.245e-05/0.6344, allocations: 7.906 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.6344, allocations: 0 / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.6344, allocations: 0 / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.6344, allocations: 240 / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.6346, allocations: 165.6 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.6346, allocations: 0 / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.959e-06/0.6346, allocations: 4 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.6347, allocations: 7.984 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-06/0.6347, allocations: 0 / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.6347, allocations: 0 / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.6347, allocations: 0 / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.6348, allocations: 84.98 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.643e-05/0.6348, allocations: 81.11 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.6348, allocations: 0 / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.241e-05/0.6349, allocations: 0 / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.353e-05/0.6349, allocations: 4 kB / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-06/0.6349, allocations: 11.98 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001005/0.635, allocations: 79.28 kB / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.635, allocations: 0 / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001998/0.6352, allocations: 19.91 kB / 1.028 GB, free: 10.88 MB / 0.7794 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.0004195/0.6356, allocations: 0.628 MB / 1.028 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000193/0.6358, allocations: 115.4 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.6359, allocations: 0 / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.777e-05/0.6359, allocations: 19.88 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001859/0.6361, allocations: 11.92 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.6376, allocations: 1.374 MB / 1.03 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.6379, allocations: 0.6809 MB / 1.03 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.592e-05/0.6379, allocations: 0 / 1.03 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.231e-05/0.638, allocations: 19.42 kB / 1.03 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of SimCode: time 3.51e-07/0.638, allocations: 0 / 1.03 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01593/0.6539, allocations: 1.766 MB / 1.032 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002183/0.6541, allocations: 221.5 kB / 1.032 GB, free: 6.031 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.683/2.337, allocations: 3.625 kB / 1.032 GB, free: 6.031 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches