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/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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001501/0.001502, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.002443/0.002442, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.499/2.499, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.509/4.509, allocations: 409.2 MB / 0.6838 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006523/0.0006521, allocations: 12 kB / 0.8375 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.528/1.529, allocations: 146.8 MB / 0.9809 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003708/1.532, allocations: 1.457 MB / 0.9823 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00258/1.535, allocations: 0.9213 MB / 0.9832 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001562/1.535, allocations: 4 kB / 0.9832 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008644/1.536, allocations: 143.6 kB / 0.9833 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003814/1.537, allocations: 95.73 kB / 0.9834 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007356/1.537, allocations: 142.3 kB / 0.9836 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002874/1.538, allocations: 103.8 kB / 0.9837 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/1.538, allocations: 21.09 kB / 0.9837 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/1.538, allocations: 55.77 kB / 0.9837 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/1.538, allocations: 59.75 kB / 0.9838 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/1.538, allocations: 4 kB / 0.9838 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000199/1.538, allocations: 35.98 kB / 0.9838 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.656e-05/1.538, allocations: 43.83 kB / 0.9839 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.2e-05/1.539, allocations: 53.62 kB / 0.9839 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003438/1.539, allocations: 145.9 kB / 0.9841 GB, free: 3 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/1.539, allocations: 0 / 0.9841 GB, free: 3 MB / 0.7325 GB Notification: Performance of FrontEnd: time 6.111e-06/1.539, allocations: 3.984 kB / 0.9841 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.702e-06/1.539, allocations: 0 / 0.9841 GB, free: 2.996 MB / 0.7325 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.001121/1.54, allocations: 468.2 kB / 0.9845 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.721e-05/1.54, allocations: 12.03 kB / 0.9845 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.626e-05/1.54, allocations: 34.56 kB / 0.9846 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.55e-05/1.54, allocations: 19.81 kB / 0.9846 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005366/1.541, allocations: 243.6 kB / 0.9848 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/1.541, allocations: 0 / 0.9848 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.867e-05/1.541, allocations: 11.97 kB / 0.9848 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003193/1.541, allocations: 87.34 kB / 0.9849 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/1.541, allocations: 0 / 0.9849 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/1.541, allocations: 3.938 kB / 0.9849 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.228e-05/1.541, allocations: 7.984 kB / 0.9849 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/1.542, allocations: 35.98 kB / 0.9849 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008388/1.542, allocations: 352.7 kB / 0.9853 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/1.543, allocations: 78.61 kB / 0.9854 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/1.543, allocations: 0 / 0.9854 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002596/1.543, allocations: 79.44 kB / 0.9854 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.994e-06/1.543, allocations: 0 / 0.9854 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0006241/1.544, allocations: 230.8 kB / 0.9856 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.921e-05/1.544, allocations: 77.11 kB / 0.9857 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004343/1.544, allocations: 263.1 kB / 0.986 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/1.544, allocations: 25.7 kB / 0.986 GB, free: 0.7617 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/1.544, allocations: 120.1 kB / 0.9861 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.017e-05/1.545, allocations: 23.7 kB / 0.9861 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.888e-06/1.545, allocations: 3.984 kB / 0.9861 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000209/1.545, allocations: 326.8 kB / 0.9865 GB, free: 292 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.666e-05/1.545, allocations: 27.98 kB / 0.9865 GB, free: 264 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/1.545, allocations: 55.36 kB / 0.9865 GB, free: 196 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/1.545, allocations: 40.02 kB / 0.9866 GB, free: 156 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/1.545, allocations: 0 / 0.9866 GB, free: 156 kB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003126/1.545, allocations: 121.4 kB / 0.9867 GB, free: 28 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/1.546, allocations: 4 kB / 0.9867 GB, free: 24 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/1.546, allocations: 4 kB / 0.9867 GB, free: 20 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/1.546, allocations: 4 kB / 0.9867 GB, free: 16 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/1.546, allocations: 11.98 kB / 0.9867 GB, free: 4 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/1.546, allocations: 0 / 0.9867 GB, free: 4 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/1.546, allocations: 12.02 kB / 0.9867 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/1.546, allocations: 8.031 kB / 0.9867 GB, free: 15.98 MB / 0.7481 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.y,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000206/1.546, allocations: 148.7 kB / 0.9869 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.562e-05/1.546, allocations: 15.59 kB / 0.9869 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.486e-05/1.546, allocations: 25.39 kB / 0.9869 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.922e-05/1.546, allocations: 4 kB / 0.9869 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/1.546, allocations: 0 / 0.9869 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/1.546, allocations: 0 / 0.9869 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003239/1.547, allocations: 213.6 kB / 0.9871 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/1.547, allocations: 4 kB / 0.9871 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.051e-05/1.547, allocations: 11.94 kB / 0.9871 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/1.547, allocations: 96 / 0.9871 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/1.547, allocations: 7.938 kB / 0.9871 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/1.547, allocations: 0 / 0.9871 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/1.547, allocations: 0 / 0.9871 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003513/1.547, allocations: 144.8 kB / 0.9873 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001528/1.547, allocations: 96.84 kB / 0.9874 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.024e-05/1.547, allocations: 15.95 kB / 0.9874 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.272e-05/1.548, allocations: 7.984 kB / 0.9874 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.374e-05/1.548, allocations: 0 / 0.9874 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/1.548, allocations: 4 kB / 0.9874 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003145/1.548, allocations: 199 kB / 0.9876 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.51e-07/1.548, allocations: 0 / 0.9876 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004334/1.548, allocations: 32 kB / 0.9876 GB, free: 14.98 MB / 0.7481 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 (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.002231/1.551, allocations: 1.007 MB / 0.9886 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000348/1.551, allocations: 67.92 kB / 0.9887 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/1.551, allocations: 0 / 0.9887 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001267/1.551, allocations: 39.98 kB / 0.9887 GB, free: 14 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004233/1.552, allocations: 37.81 kB / 0.9887 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00251/1.554, allocations: 1.111 MB / 0.9898 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00056/1.555, allocations: 0.7321 MB / 0.9905 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001219/1.555, allocations: 17.42 kB / 0.9906 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/1.555, allocations: 47.42 kB / 0.9906 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of SimCode: time 6.11e-07/1.555, allocations: 0 / 0.9906 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0257/1.581, allocations: 3.959 MB / 0.9945 GB, free: 8.168 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003057/1.581, allocations: 226 kB / 0.9947 GB, free: 7.926 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.95/4.532, allocations: 0 / 0.9947 GB, free: 7.926 MB / 0.7481 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) Environment - environmentSimulation: 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