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.004217/0.004217, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.00121/0.00121, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.58/2.58, allocations: 469.8 MB / 0.7425 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 63.91 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6203/0.6222, allocations: 159.1 MB / 1.22 GB, free: 2.227 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001539/0.6238, allocations: 0.6159 MB / 1.221 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.625, allocations: 1.12 MB / 1.222 GB, free: 492 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.977e-05/0.6251, allocations: 0 / 1.222 GB, free: 492 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 8.281e-05/0.6252, allocations: 7.938 kB / 1.222 GB, free: 484 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 1.717e-05/0.6252, allocations: 3.938 kB / 1.222 GB, free: 480 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004156/0.6256, allocations: 118.8 kB / 1.222 GB, free: 364 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.6258, allocations: 99.81 kB / 1.222 GB, free: 264 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.989e-05/0.6258, allocations: 7.984 kB / 1.222 GB, free: 256 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.178e-05/0.6259, allocations: 35.92 kB / 1.222 GB, free: 220 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.571e-05/0.626, allocations: 35.88 kB / 1.222 GB, free: 184 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.626, allocations: 8 kB / 1.222 GB, free: 176 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.45e-05/0.6261, allocations: 19.98 kB / 1.222 GB, free: 156 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.445e-05/0.6262, allocations: 7.984 kB / 1.222 GB, free: 148 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.102e-05/0.6262, allocations: 35.92 kB / 1.222 GB, free: 112 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.6264, allocations: 87.44 kB / 1.222 GB, free: 28 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.6264, allocations: 3.938 kB / 1.222 GB, free: 24 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6264, allocations: 3.938 kB / 1.222 GB, free: 20 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.918e-06/0.6264, allocations: 0 / 1.222 GB, free: 20 kB / 0.9356 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.0004462/0.6269, allocations: 389.5 kB / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.6269, allocations: 8.031 kB / 1.223 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.09e-05/0.6269, allocations: 30.75 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/0.627, allocations: 4.938 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.6271, allocations: 192.3 kB / 1.223 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.6272, allocations: 8.375 kB / 1.223 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.6272, allocations: 4.375 kB / 1.223 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.395e-05/0.6273, allocations: 42.25 kB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.6273, allocations: 3.938 kB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.6273, allocations: 0 / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.6273, allocations: 0 / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.12e-05/0.6274, allocations: 15.94 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003458/0.6277, allocations: 316.7 kB / 1.223 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 4.253e-05/0.6278, allocations: 18.64 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.453e-05/0.6278, allocations: 4.859 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 5.31e-06/0.6278, allocations: 3.938 kB / 1.223 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001221/0.6279, allocations: 59.39 kB / 1.223 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.6279, allocations: 0 / 1.223 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.00016/0.6281, allocations: 61.64 kB / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.6281, allocations: 59.34 kB / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.397e-05/0.6282, allocations: 109.8 kB / 1.224 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.6283, allocations: 33.64 kB / 1.224 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.132e-05/0.6283, allocations: 88.09 kB / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.107e-05/0.6283, allocations: 7.984 kB / 1.224 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.023e-05/0.6284, allocations: 29.7 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.6285, allocations: 318.8 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.011e-05/0.6286, allocations: 31.98 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.627e-05/0.6287, allocations: 50.55 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.6288, allocations: 80.22 kB / 1.224 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.6288, allocations: 3.938 kB / 1.224 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002277/0.629, allocations: 143.5 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.541e-05/0.6291, allocations: 37.8 kB / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.6291, allocations: 4 kB / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.6291, allocations: 7.984 kB / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.149e-05/0.6291, allocations: 0 / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.6291, allocations: 0 / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.6293, allocations: 23.97 kB / 1.224 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/0.6293, allocations: 11.98 kB / 1.224 GB, free: 13.59 MB / 0.9512 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.695e-05/0.6294, allocations: 120.4 kB / 1.225 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.146e-06/0.6295, allocations: 4 kB / 1.225 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.548e-05/0.6295, allocations: 8.219 kB / 1.225 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.6295, allocations: 0 / 1.225 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.6295, allocations: 3.984 kB / 1.225 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.6295, allocations: 4 kB / 1.225 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.6296, allocations: 165.6 kB / 1.225 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.6296, allocations: 0 / 1.225 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-06/0.6297, allocations: 0 / 1.225 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.6297, allocations: 0 / 1.225 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.6297, allocations: 7.984 kB / 1.225 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.6297, allocations: 0 / 1.225 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.6297, allocations: 7.938 kB / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/0.6298, allocations: 81.02 kB / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.656e-05/0.6298, allocations: 77.11 kB / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.6298, allocations: 4 kB / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.252e-05/0.6299, allocations: 0 / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.929e-05/0.6299, allocations: 3.984 kB / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.6299, allocations: 4 kB / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.239e-05/0.6299, allocations: 87.28 kB / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.63, allocations: 0 / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001944/0.6302, allocations: 15.94 kB / 1.225 GB, free: 12.9 MB / 0.9512 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.0004079/0.6306, allocations: 0.6323 MB / 1.226 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002075/0.6308, allocations: 123.5 kB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6308, allocations: 0 / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.37e-05/0.6308, allocations: 19.92 kB / 1.226 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001733/0.631, allocations: 7.938 kB / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.6323, allocations: 1.361 MB / 1.227 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.6326, allocations: 0.6884 MB / 1.228 GB, free: 9.902 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.452e-05/0.6326, allocations: 0 / 1.228 GB, free: 9.902 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.96e-05/0.6327, allocations: 19.42 kB / 1.228 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of SimCode: time 2.21e-07/0.6327, allocations: 0 / 1.228 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.35/1.983, allocations: 2.004 MB / 1.23 GB, free: 8.031 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/13.4, allocations: 10.59 kB / 1.23 GB, free: 8.023 MB / 0.9512 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