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.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001422/0.001422, allocations: 189.5 kB / 16.25 MB, free: 6.633 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.347/1.347, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.665/3.665, allocations: 461.9 MB / 0.7344 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002514/0.002515, allocations: 65.3 kB / 0.8987 GB, free: 37.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3958/0.3983, allocations: 157.4 MB / 1.052 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002301/0.4007, allocations: 0.6843 MB / 1.053 GB, free: 7.938 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001663/0.4024, allocations: 1.12 MB / 1.054 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.623e-05/0.4025, allocations: 4 kB / 1.054 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.4026, allocations: 3.938 kB / 1.054 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.937e-05/0.4026, allocations: 3.984 kB / 1.054 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005341/0.4032, allocations: 114.9 kB / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.4033, allocations: 95.83 kB / 1.054 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.155e-05/0.4034, allocations: 11.94 kB / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.77e-05/0.4035, allocations: 31.97 kB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.4036, allocations: 27.91 kB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.4037, allocations: 8 kB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.253e-05/0.4037, allocations: 23.98 kB / 1.055 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.098e-05/0.4038, allocations: 7.984 kB / 1.055 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.497e-05/0.4039, allocations: 31.86 kB / 1.055 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.4041, allocations: 92.05 kB / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.4041, allocations: 4 kB / 1.055 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4041, allocations: 0 / 1.055 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.4041, allocations: 0 / 1.055 GB, free: 6.355 MB / 0.8106 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.0005276/0.4046, allocations: 381.1 kB / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.4047, allocations: 8.625 kB / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.301e-05/0.4047, allocations: 34.75 kB / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.834e-05/0.4048, allocations: 4.938 kB / 1.055 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.405, allocations: 188.2 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.405, allocations: 4.375 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.405, allocations: 12.38 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.4052, allocations: 46.25 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.4052, allocations: 3.938 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.4052, allocations: 0 / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.4052, allocations: 3.984 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.867e-05/0.4053, allocations: 19.92 kB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003934/0.4057, allocations: 304.7 kB / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.144e-05/0.4057, allocations: 26.58 kB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.059e-05/0.4058, allocations: 8.922 kB / 1.056 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.844e-06/0.4058, allocations: 0 / 1.056 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001742/0.406, allocations: 59.39 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.406, allocations: 0 / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0002152/0.4062, allocations: 69.61 kB / 1.056 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.4062, allocations: 55.41 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.4064, allocations: 109.8 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.4064, allocations: 33.7 kB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.57e-05/0.4065, allocations: 80.14 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.4065, allocations: 7.906 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.692e-05/0.4066, allocations: 37.64 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.4067, allocations: 318.8 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.708e-05/0.4068, allocations: 27.98 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.424e-05/0.4069, allocations: 50.56 kB / 1.056 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.407, allocations: 80.2 kB / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.407, allocations: 0 / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000254/0.4073, allocations: 143.3 kB / 1.057 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.794e-05/0.4073, allocations: 41.69 kB / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.4074, allocations: 96 / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.4074, allocations: 4 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.963e-05/0.4074, allocations: 4 kB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.4074, allocations: 0 / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002335/0.4077, allocations: 27.88 kB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.4077, allocations: 4 kB / 1.057 GB, free: 3.922 MB / 0.8106 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 0.0001025/0.4078, allocations: 131.2 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.062e-05/0.4078, allocations: 4 kB / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.499e-05/0.4078, allocations: 7.906 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.4078, allocations: 0 / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.4079, allocations: 0 / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.4079, allocations: 4 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.408, allocations: 165.6 kB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.408, allocations: 0 / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.766e-06/0.408, allocations: 8 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.4081, allocations: 0 / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.4081, allocations: 0 / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.4081, allocations: 0 / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4081, allocations: 0 / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.4082, allocations: 93.53 kB / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.041e-05/0.4082, allocations: 85.05 kB / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.4083, allocations: 3.938 kB / 1.057 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.581e-05/0.4083, allocations: 4 kB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/0.4083, allocations: 4 kB / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.4083, allocations: 0 / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.34e-05/0.4084, allocations: 87.27 kB / 1.057 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4084, allocations: 4 kB / 1.057 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002356/0.4086, allocations: 16 kB / 1.057 GB, free: 3.219 MB / 0.8106 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.000446/0.4091, allocations: 0.624 MB / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002278/0.4093, allocations: 119.3 kB / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.4093, allocations: 8.188 kB / 1.058 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.944e-05/0.4094, allocations: 8 kB / 1.058 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.4096, allocations: 11.98 kB / 1.058 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.4111, allocations: 1.361 MB / 1.059 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.4115, allocations: 0.6885 MB / 1.06 GB, free: 240 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.541e-05/0.4115, allocations: 0 / 1.06 GB, free: 240 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.23e-05/0.4115, allocations: 15.44 kB / 1.06 GB, free: 224 kB / 0.8106 GB Notification: Performance of SimCode: time 1.002e-06/0.4115, allocations: 0 / 1.06 GB, free: 224 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01244/0.424, allocations: 1.889 MB / 1.062 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/0.4242, allocations: 229.4 kB / 1.062 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.964/2.388, allocations: 0 / 1.062 GB, free: 14.26 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches