Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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.Controls.OBC.CDL.Continuous.Validation.Divide,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Divide",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Divide",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.00121/0.00121, allocations: 100.1 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.001409/0.001409, 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 1.431/1.431, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.404/2.404, allocations: 390.3 MB / 0.6653 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003786/0.0003786, allocations: 12 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8539/0.8543, allocations: 142.3 MB / 0.9536 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide): time 0.0007748/0.8551, allocations: 432.8 kB / 0.954 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007114/0.8558, allocations: 0.7912 MB / 0.9548 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.922e-05/0.8559, allocations: 1.469 kB / 0.9548 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.319e-05/0.8559, allocations: 3.938 kB / 0.9548 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.415e-05/0.856, allocations: 5.172 kB / 0.9548 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.654e-05/0.856, allocations: 9.297 kB / 0.9548 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.433e-05/0.8561, allocations: 23.53 kB / 0.9548 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.032e-05/0.8562, allocations: 12.5 kB / 0.9548 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.543e-05/0.8562, allocations: 18.33 kB / 0.9549 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.006e-05/0.8563, allocations: 20.25 kB / 0.9549 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.8563, allocations: 1.406 kB / 0.9549 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.334e-06/0.8563, allocations: 2.812 kB / 0.9549 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.099e-05/0.8563, allocations: 3.984 kB / 0.9549 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.59e-05/0.8563, allocations: 36.48 kB / 0.9549 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.574e-05/0.8564, allocations: 21.69 kB / 0.9549 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.8564, allocations: 0 / 0.9549 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8564, allocations: 0 / 0.9549 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.8564, allocations: 4 kB / 0.955 GB, free: 7.016 MB / 0.7169 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.0003619/0.8568, allocations: 365.2 kB / 0.9553 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.8568, allocations: 8.969 kB / 0.9553 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.212e-05/0.8568, allocations: 31.59 kB / 0.9553 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.032e-05/0.8569, allocations: 13.86 kB / 0.9554 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.211e-05/0.857, allocations: 169.8 kB / 0.9555 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.857, allocations: 1.25 kB / 0.9555 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.857, allocations: 1.875 kB / 0.9555 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/0.8572, allocations: 80 kB / 0.9556 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.8572, allocations: 5.406 kB / 0.9556 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.966e-06/0.8573, allocations: 0 / 0.9556 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.8573, allocations: 3.938 kB / 0.9556 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002885/0.8576, allocations: 94.91 kB / 0.9557 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002602/0.8578, allocations: 266.9 kB / 0.9559 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.858, allocations: 74.98 kB / 0.956 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.858, allocations: 0 / 0.956 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.324e-05/0.8581, allocations: 31.75 kB / 0.9561 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.8581, allocations: 0 / 0.9561 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005154/0.8586, allocations: 167.3 kB / 0.9562 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.93e-05/0.8586, allocations: 51.41 kB / 0.9563 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.361e-05/0.8587, allocations: 108.2 kB / 0.9564 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.206e-06/0.8587, allocations: 25.7 kB / 0.9564 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.972e-05/0.8587, allocations: 94.23 kB / 0.9565 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.8587, allocations: 16.38 kB / 0.9565 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-06/0.8588, allocations: 1.031 kB / 0.9565 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.069e-05/0.8588, allocations: 319.9 kB / 0.9568 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.859, allocations: 42.89 kB / 0.9568 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.8591, allocations: 38.88 kB / 0.9569 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.8593, allocations: 39.47 kB / 0.9569 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.8593, allocations: 3.984 kB / 0.9569 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003156/0.8596, allocations: 124.5 kB / 0.957 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.8596, allocations: 5.031 kB / 0.957 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.8596, allocations: 0 / 0.957 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.8596, allocations: 5.016 kB / 0.957 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.8598, allocations: 18.7 kB / 0.9571 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.8598, allocations: 1.25 kB / 0.9571 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.8599, allocations: 20.11 kB / 0.9571 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.8599, allocations: 0 / 0.9571 GB, free: 5.059 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * 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 5.663e-05/0.8599, allocations: 116.6 kB / 0.9572 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.611e-05/0.86, allocations: 9.406 kB / 0.9572 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.043e-05/0.8601, allocations: 5.188 kB / 0.9572 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.8601, allocations: 0 / 0.9572 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.8601, allocations: 9.297 kB / 0.9572 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.8601, allocations: 0 / 0.9572 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.8602, allocations: 165.5 kB / 0.9574 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.8602, allocations: 4 kB / 0.9574 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.635e-05/0.8603, allocations: 22.97 kB / 0.9574 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.8603, allocations: 4.938 kB / 0.9574 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.8603, allocations: 0 / 0.9574 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.8603, allocations: 1.219 kB / 0.9574 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.8603, allocations: 0 / 0.9574 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003321/0.8607, allocations: 219.6 kB / 0.9576 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.959e-05/0.8607, allocations: 86.16 kB / 0.9577 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.8607, allocations: 1.219 kB / 0.9577 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.8608, allocations: 22.64 kB / 0.9577 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.8609, allocations: 2.219 kB / 0.9577 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.8609, allocations: 1.219 kB / 0.9577 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.667e-05/0.8609, allocations: 97.52 kB / 0.9578 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8609, allocations: 0 / 0.9578 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002153/0.8611, allocations: 10.62 kB / 0.9578 GB, free: 4.316 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0004878/0.8616, allocations: 0.7435 MB / 0.9586 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003122/0.862, allocations: 98.19 kB / 0.9586 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.862, allocations: 0 / 0.9586 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.8621, allocations: 49.78 kB / 0.9587 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.8623, allocations: 8.109 kB / 0.9587 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003498/0.8627, allocations: 162.3 kB / 0.9589 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.821e-05/0.8628, allocations: 0.6851 MB / 0.9595 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.685e-05/0.8628, allocations: 1.406 kB / 0.9595 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/0.8629, allocations: 12.38 kB / 0.9595 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8629, allocations: 0 / 0.9595 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009775/0.8726, allocations: 1.277 MB / 0.9608 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002547/0.8729, allocations: 191.3 kB / 0.961 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.603/2.476, allocations: 0 / 0.961 GB, free: 1.84 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Divide_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Divide.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide_res.mat does not exist to compare? outputFormat=mat