Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.091/2.091, allocations: 390.3 MB / 402.8 MB, free: 6.695 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 176.8 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 221.3 MB / 0.7915 GB, free: 5.402 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007975/0.0007976, allocations: 95.91 kB / 0.9318 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.758e-05/3.769e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2523, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7907/1.043, allocations: 154.4 MB / 1.37 GB, free: 15.58 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001922/1.043, allocations: 78.2 kB / 1.37 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.01384/1.057, allocations: 5.557 MB / 1.375 GB, free: 10.87 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.072e-06/1.057, allocations: 0 / 1.375 GB, free: 10.87 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.277e-05/1.057, allocations: 0 / 1.375 GB, free: 10.87 MB / 0.8386 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.0004871/1.058, allocations: 466.5 kB / 1.376 GB, free: 10.37 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/1.058, allocations: 12.03 kB / 1.376 GB, free: 10.36 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.8e-05/1.058, allocations: 42.03 kB / 1.376 GB, free: 10.31 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/1.058, allocations: 19.77 kB / 1.376 GB, free: 10.29 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/1.058, allocations: 245.4 kB / 1.376 GB, free: 10.03 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/1.058, allocations: 7.688 kB / 1.376 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/1.058, allocations: 3.984 kB / 1.376 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/1.058, allocations: 96.38 kB / 1.376 GB, free: 9.926 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/1.058, allocations: 0 / 1.376 GB, free: 9.926 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/1.058, allocations: 3.625 kB / 1.376 GB, free: 9.926 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.96e-05/1.058, allocations: 7.984 kB / 1.376 GB, free: 9.918 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.986e-05/1.058, allocations: 30.19 kB / 1.376 GB, free: 9.898 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004876/1.059, allocations: 364.6 kB / 1.376 GB, free: 9.531 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/1.059, allocations: 72.62 kB / 1.376 GB, free: 9.469 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.765e-05/1.059, allocations: 33.73 kB / 1.377 GB, free: 9.445 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/1.059, allocations: 0 / 1.377 GB, free: 9.445 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001166/1.059, allocations: 89.09 kB / 1.377 GB, free: 9.355 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/1.059, allocations: 0 / 1.377 GB, free: 9.355 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0002475/1.06, allocations: 116.6 kB / 1.377 GB, free: 9.254 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/1.06, allocations: 81.11 kB / 1.377 GB, free: 9.156 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/1.06, allocations: 245.6 kB / 1.377 GB, free: 8.949 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/1.06, allocations: 29.64 kB / 1.377 GB, free: 8.914 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.583e-05/1.06, allocations: 123.2 kB / 1.377 GB, free: 8.812 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/1.06, allocations: 23.67 kB / 1.377 GB, free: 8.793 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-06/1.06, allocations: 0 / 1.377 GB, free: 8.793 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000114/1.06, allocations: 329.4 kB / 1.377 GB, free: 8.469 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.118e-05/1.06, allocations: 22 kB / 1.378 GB, free: 8.457 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.164e-05/1.06, allocations: 61.73 kB / 1.378 GB, free: 8.395 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.654e-05/1.06, allocations: 30.2 kB / 1.378 GB, free: 8.375 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.06, allocations: 0 / 1.378 GB, free: 8.375 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001509/1.06, allocations: 115.5 kB / 1.378 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/1.06, allocations: 4 kB / 1.378 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/1.06, allocations: 0 / 1.378 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/1.061, allocations: 4 kB / 1.378 GB, free: 8.266 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.491e-05/1.061, allocations: 19.94 kB / 1.378 GB, free: 8.246 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/1.061, allocations: 4 kB / 1.378 GB, free: 8.242 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.988e-05/1.061, allocations: 7.906 kB / 1.378 GB, free: 8.234 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/1.061, allocations: 7.906 kB / 1.378 GB, free: 8.23 MB / 0.8386 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 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.959e-05/1.061, allocations: 117.5 kB / 1.378 GB, free: 8.109 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/1.061, allocations: 19.8 kB / 1.378 GB, free: 8.09 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002013/1.061, allocations: 136.3 kB / 1.378 GB, free: 7.973 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.375e-06/1.061, allocations: 0 / 1.378 GB, free: 7.973 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.061, allocations: 7.953 kB / 1.378 GB, free: 7.965 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/1.061, allocations: 4 kB / 1.378 GB, free: 7.961 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/1.061, allocations: 224 kB / 1.378 GB, free: 7.719 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/1.061, allocations: 4 kB / 1.378 GB, free: 7.715 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.754e-05/1.061, allocations: 7.984 kB / 1.378 GB, free: 7.707 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/1.061, allocations: 0 / 1.378 GB, free: 7.707 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/1.061, allocations: 0 / 1.378 GB, free: 7.707 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/1.061, allocations: 0 / 1.378 GB, free: 7.707 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/1.061, allocations: 0 / 1.378 GB, free: 7.707 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/1.062, allocations: 153.9 kB / 1.378 GB, free: 7.562 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.59e-05/1.062, allocations: 100.8 kB / 1.378 GB, free: 7.449 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/1.062, allocations: 0 / 1.378 GB, free: 7.449 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.166e-05/1.062, allocations: 15.66 kB / 1.379 GB, free: 7.438 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/1.062, allocations: 7.938 kB / 1.379 GB, free: 7.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.627e-06/1.062, allocations: 3.984 kB / 1.379 GB, free: 7.426 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001536/1.062, allocations: 192.3 kB / 1.379 GB, free: 7.273 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.062, allocations: 0 / 1.379 GB, free: 7.273 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002311/1.062, allocations: 54.62 kB / 1.379 GB, free: 7.223 MB / 0.8386 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.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001101/1.063, allocations: 0.961 MB / 1.38 GB, free: 6.387 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001468/1.063, allocations: 77.8 kB / 1.38 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/1.063, allocations: 0 / 1.38 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.175e-05/1.064, allocations: 50.23 kB / 1.38 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/1.064, allocations: 29.52 kB / 1.38 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005135/1.064, allocations: 290.8 kB / 1.38 GB, free: 5.988 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/1.065, allocations: 0.7277 MB / 1.381 GB, free: 5.238 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.147e-05/1.065, allocations: 29.5 kB / 1.381 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.932e-05/1.065, allocations: 52.16 kB / 1.381 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/1.065, allocations: 0 / 1.381 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01469/1.079, allocations: 4.076 MB / 1.385 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/1.08, allocations: 196.6 kB / 1.385 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.799/2.879, allocations: 0 / 1.385 GB, free: 1.023 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat does not exist to compare? outputFormat=mat