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.00103/0.001029, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001206/0.001206, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.456/2.456, allocations: 409.4 MB / 0.684 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004148/0.0004148, allocations: 12 kB / 0.8378 GB, free: 6.578 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8677/0.8681, allocations: 146.8 MB / 0.9811 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002572/0.8707, allocations: 1.461 MB / 0.9826 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001938/0.8727, allocations: 0.9447 MB / 0.9835 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001913/0.8729, allocations: 0 / 0.9835 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008282/0.8738, allocations: 151.7 kB / 0.9836 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003702/0.8741, allocations: 95.69 kB / 0.9837 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005743/0.8747, allocations: 142.7 kB / 0.9839 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002851/0.875, allocations: 147.6 kB / 0.984 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.8752, allocations: 29.08 kB / 0.984 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.8753, allocations: 59.7 kB / 0.9841 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.8755, allocations: 63.69 kB / 0.9841 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.8755, allocations: 4 kB / 0.9841 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001788/0.8757, allocations: 51.91 kB / 0.9842 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.754e-05/0.8758, allocations: 39.89 kB / 0.9842 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.982e-05/0.8759, allocations: 45.64 kB / 0.9843 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003084/0.8762, allocations: 141.9 kB / 0.9844 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.8762, allocations: 0 / 0.9844 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.615e-06/0.8762, allocations: 4 kB / 0.9844 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.8762, allocations: 3.938 kB / 0.9844 GB, free: 2.957 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.0009169/0.8772, allocations: 484.1 kB / 0.9849 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.8772, allocations: 12.03 kB / 0.9849 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.793e-05/0.8773, allocations: 34.55 kB / 0.9849 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.7e-05/0.8774, allocations: 15.81 kB / 0.9849 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003873/0.8778, allocations: 239.7 kB / 0.9852 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.8778, allocations: 0 / 0.9852 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.8778, allocations: 12 kB / 0.9852 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.878, allocations: 91.27 kB / 0.9853 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.8781, allocations: 0 / 0.9853 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.8781, allocations: 4 kB / 0.9853 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.171e-05/0.8781, allocations: 0 / 0.9853 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.8782, allocations: 39.97 kB / 0.9853 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006478/0.8789, allocations: 356.7 kB / 0.9856 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.8791, allocations: 70.67 kB / 0.9857 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.661e-05/0.8791, allocations: 32.84 kB / 0.9857 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.8792, allocations: 0 / 0.9857 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001716/0.8793, allocations: 95.3 kB / 0.9858 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.8794, allocations: 0 / 0.9858 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0003441/0.8797, allocations: 141.4 kB / 0.986 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.8798, allocations: 81.11 kB / 0.986 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002977/0.8801, allocations: 255.1 kB / 0.9863 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.8801, allocations: 29.81 kB / 0.9863 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.196e-05/0.8802, allocations: 120 kB / 0.9864 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.8802, allocations: 19.72 kB / 0.9865 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.8802, allocations: 4 kB / 0.9865 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.8804, allocations: 326.8 kB / 0.9868 GB, free: 308 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.694e-05/0.8804, allocations: 28.27 kB / 0.9868 GB, free: 280 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.79e-05/0.8805, allocations: 63.34 kB / 0.9869 GB, free: 204 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.565e-05/0.8806, allocations: 35.94 kB / 0.9869 GB, free: 168 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/0.8806, allocations: 3.953 kB / 0.9869 GB, free: 164 kB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002087/0.8809, allocations: 117.4 kB / 0.987 GB, free: 40 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.8809, allocations: 4 kB / 0.987 GB, free: 36 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.8809, allocations: 4 kB / 0.987 GB, free: 32 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.8809, allocations: 0 / 0.987 GB, free: 32 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.033e-05/0.881, allocations: 15.98 kB / 0.987 GB, free: 16 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.881, allocations: 0 / 0.987 GB, free: 16 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.913e-05/0.8811, allocations: 15.84 kB / 0.987 GB, free: 0 / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.8811, allocations: 0 / 0.987 GB, free: 0 / 0.7325 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.0001605/0.8813, allocations: 147.2 kB / 0.9872 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/0.8813, allocations: 15.77 kB / 0.9872 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.435e-05/0.8814, allocations: 21.39 kB / 0.9872 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.8814, allocations: 7.984 kB / 0.9872 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.8814, allocations: 0 / 0.9872 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.8814, allocations: 0 / 0.9872 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.8816, allocations: 217.6 kB / 0.9874 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.8816, allocations: 3.984 kB / 0.9874 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.591e-05/0.8817, allocations: 11.89 kB / 0.9875 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.8817, allocations: 0 / 0.9875 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.8817, allocations: 8 kB / 0.9875 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.8817, allocations: 160 / 0.9875 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.8817, allocations: 4 kB / 0.9875 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.882, allocations: 141 kB / 0.9876 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.93e-05/0.8821, allocations: 112.7 kB / 0.9877 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/0.8821, allocations: 7.938 kB / 0.9877 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.316e-05/0.8822, allocations: 7.984 kB / 0.9877 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.813e-05/0.8822, allocations: 12 kB / 0.9877 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.8822, allocations: 0 / 0.9877 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000206/0.8825, allocations: 195 kB / 0.9879 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8825, allocations: 0 / 0.9879 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002724/0.8827, allocations: 32 kB / 0.9879 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.001539/0.8843, allocations: 1 MB / 0.9889 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002128/0.8845, allocations: 67.97 kB / 0.989 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.8845, allocations: 0 / 0.989 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 8.091e-05/0.8846, allocations: 39.92 kB / 0.989 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.8849, allocations: 39.52 kB / 0.9891 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.8866, allocations: 0.9757 MB / 0.99 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.887, allocations: 0.7243 MB / 0.9907 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.676e-05/0.8871, allocations: 29.66 kB / 0.9908 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.862e-05/0.8872, allocations: 43.42 kB / 0.9908 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of SimCode: time 6.01e-07/0.8872, allocations: 0 / 0.9908 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01586/0.9031, allocations: 3.967 MB / 0.9947 GB, free: 8.309 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001951/0.9033, allocations: 232.6 kB / 0.9949 GB, free: 8.066 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.913/2.816, allocations: 8.062 kB / 0.9949 GB, free: 8.059 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