Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.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.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_BooleanReplicator",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.001335/0.001335, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001348/0.001348, allocations: 191 kB / 16.14 MB, free: 6.711 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.351/1.351, allocations: 222.9 MB / 239.8 MB, free: 4.617 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.53/2.53, allocations: 437 MB / 0.7099 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 67.89 kB / 0.8686 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5973/0.5987, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002982/0.6018, allocations: 1.832 MB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001411/0.6032, allocations: 1.022 MB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.956e-05/0.6033, allocations: 3.938 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005392/0.6038, allocations: 154.9 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002196/0.604, allocations: 99.75 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003587/0.6044, allocations: 147.7 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.6046, allocations: 167.6 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.557e-05/0.6047, allocations: 21.12 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.848e-05/0.6048, allocations: 63.69 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.401e-05/0.6049, allocations: 63.7 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.6049, allocations: 4 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.6051, allocations: 59.89 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.422e-05/0.6051, allocations: 39.91 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.502e-05/0.6052, allocations: 51.61 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.6054, allocations: 197.6 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.6054, allocations: 4 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.11e-07/0.6054, allocations: 0 / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.6055, allocations: 0 / 1.021 GB, free: 14.8 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005955/0.6061, allocations: 0.4885 MB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.6061, allocations: 12.03 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.172e-05/0.6061, allocations: 30.75 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.282e-05/0.6062, allocations: 24.69 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.6064, allocations: 241 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.6065, allocations: 4.375 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.6065, allocations: 11.92 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.6067, allocations: 83.33 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.892e-06/0.6067, allocations: 0 / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.6067, allocations: 8 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/0.6067, allocations: 7.969 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.69e-05/0.6068, allocations: 35.98 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000436/0.6073, allocations: 360.5 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.6075, allocations: 70.67 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.805e-05/0.6075, allocations: 36.84 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.6076, allocations: 4 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000151/0.6077, allocations: 83.31 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.462e-06/0.6077, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0003165/0.608, allocations: 141.5 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.6081, allocations: 81.05 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002392/0.6083, allocations: 262.9 kB / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.6084, allocations: 33.7 kB / 1.022 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.578e-05/0.6084, allocations: 127.9 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.6085, allocations: 11.81 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.395e-05/0.6085, allocations: 33.69 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.712e-05/0.6086, allocations: 326.9 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.513e-05/0.6087, allocations: 31.92 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.482e-05/0.6088, allocations: 51.42 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.6089, allocations: 85.97 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.6089, allocations: 0 / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001914/0.6091, allocations: 117.4 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.6091, allocations: 4 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.6091, allocations: 0 / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.207e-06/0.6092, allocations: 0 / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.961e-05/0.6092, allocations: 12 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.6092, allocations: 0 / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.193e-05/0.6093, allocations: 27.8 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.6093, allocations: 0 / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * 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.0001153/0.6094, allocations: 146.3 kB / 1.023 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/0.6095, allocations: 19.81 kB / 1.023 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.76e-05/0.6095, allocations: 17.39 kB / 1.023 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.6095, allocations: 4 kB / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.6095, allocations: 3.938 kB / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.6096, allocations: 3.938 kB / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.6097, allocations: 225.6 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.6097, allocations: 0 / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.938e-05/0.6098, allocations: 0 / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.6098, allocations: 4 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.6098, allocations: 0 / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.6098, allocations: 0 / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.6098, allocations: 3.984 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002188/0.61, allocations: 148.8 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.055e-05/0.6101, allocations: 100.8 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.6101, allocations: 7.984 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.182e-05/0.6102, allocations: 4 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.231e-05/0.6102, allocations: 11.86 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.6102, allocations: 4 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001645/0.6104, allocations: 192.6 kB / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6104, allocations: 0 / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002311/0.6106, allocations: 35.91 kB / 1.024 GB, free: 10.73 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: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00129/0.6119, allocations: 1.006 MB / 1.025 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002039/0.6122, allocations: 71.91 kB / 1.025 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.6122, allocations: 0 / 1.025 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.535e-05/0.6123, allocations: 39.98 kB / 1.025 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004077/0.6127, allocations: 41.3 kB / 1.025 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002154/0.6148, allocations: 1.972 MB / 1.027 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.6151, allocations: 0.7243 MB / 1.028 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.508e-05/0.6152, allocations: 25.72 kB / 1.028 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.269e-05/0.6153, allocations: 43.42 kB / 1.028 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of SimCode: time 3.51e-07/0.6153, allocations: 0 / 1.028 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01332/0.6286, allocations: 4.211 MB / 1.032 GB, free: 2.746 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/0.6288, allocations: 246.2 kB / 1.032 GB, free: 2.488 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.717/2.345, allocations: 0 / 1.032 GB, free: 2.488 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu > Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BooleanReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches