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.0009751/0.0009749, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.001175/0.001175, allocations: 172.7 kB / 15.95 MB, free: 208 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.394/1.394, allocations: 223.2 MB / 240 MB, free: 5.352 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.533/2.533, allocations: 390.4 MB / 0.6655 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003563/0.0003564, allocations: 15.98 kB / 0.8149 GB, free: 14.08 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8491/0.8495, allocations: 142.3 MB / 0.9539 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide): time 0.0008005/0.8503, allocations: 426.7 kB / 0.9543 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006899/0.851, allocations: 0.7912 MB / 0.9551 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.001e-05/0.8511, allocations: 1.594 kB / 0.9551 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.68e-05/0.8511, allocations: 7.938 kB / 0.9551 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.309e-05/0.8512, allocations: 9.453 kB / 0.9551 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.066e-05/0.8512, allocations: 4 kB / 0.9551 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.442e-05/0.8513, allocations: 38.44 kB / 0.9551 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.339e-05/0.8514, allocations: 5.25 kB / 0.9551 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.741e-05/0.8515, allocations: 21.25 kB / 0.9551 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.011e-05/0.8515, allocations: 16.23 kB / 0.9552 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.8515, allocations: 2.688 kB / 0.9552 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.754e-06/0.8516, allocations: 5.375 kB / 0.9552 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.126e-05/0.8516, allocations: 9.047 kB / 0.9552 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.78e-05/0.8516, allocations: 31.48 kB / 0.9552 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.157e-05/0.8516, allocations: 26.06 kB / 0.9552 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.8517, allocations: 0 / 0.9552 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8517, allocations: 0 / 0.9552 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.8517, allocations: 1.031 kB / 0.9552 GB, free: 6.969 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.0004186/0.8521, allocations: 366.2 kB / 0.9556 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.8522, allocations: 9.5 kB / 0.9556 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.59e-05/0.8522, allocations: 34.56 kB / 0.9556 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.647e-05/0.8522, allocations: 14.5 kB / 0.9556 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.277e-05/0.8523, allocations: 165.4 kB / 0.9558 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.8523, allocations: 1.094 kB / 0.9558 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.8523, allocations: 5.453 kB / 0.9558 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.8526, allocations: 84.25 kB / 0.9559 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.862e-06/0.8526, allocations: 5.188 kB / 0.9559 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.333e-06/0.8526, allocations: 0 / 0.9559 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.8526, allocations: 1.062 kB / 0.9559 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002924/0.8529, allocations: 90.25 kB / 0.956 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002747/0.8532, allocations: 275.1 kB / 0.9562 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.8534, allocations: 74.69 kB / 0.9563 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.8535, allocations: 48.27 kB / 0.9563 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.8535, allocations: 1.312 kB / 0.9563 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.439e-05/0.8536, allocations: 32.16 kB / 0.9564 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.8536, allocations: 0 / 0.9564 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004853/0.8541, allocations: 166.3 kB / 0.9565 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/0.8541, allocations: 51.41 kB / 0.9566 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.289e-05/0.8542, allocations: 112 kB / 0.9567 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.104e-06/0.8542, allocations: 25.7 kB / 0.9567 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.509e-05/0.8542, allocations: 85.89 kB / 0.9568 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.8542, allocations: 22.19 kB / 0.9568 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/0.8542, allocations: 0 / 0.9568 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.011e-05/0.8543, allocations: 316.2 kB / 0.9571 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.8544, allocations: 38.38 kB / 0.9572 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.8545, allocations: 47.27 kB / 0.9572 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.8547, allocations: 42.16 kB / 0.9572 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.8547, allocations: 1.438 kB / 0.9572 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002785/0.855, allocations: 115.7 kB / 0.9574 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.855, allocations: 6 kB / 0.9574 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.855, allocations: 0 / 0.9574 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.855, allocations: 3.953 kB / 0.9574 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.8551, allocations: 23.84 kB / 0.9574 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.8552, allocations: 3.938 kB / 0.9574 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.26e-05/0.8552, allocations: 19.55 kB / 0.9574 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.8552, allocations: 1.094 kB / 0.9574 GB, free: 4.98 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 4.657e-05/0.8553, allocations: 112.2 kB / 0.9575 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.8553, allocations: 5.25 kB / 0.9575 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.874e-05/0.8553, allocations: 13.06 kB / 0.9575 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.8554, allocations: 5.047 kB / 0.9575 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.8554, allocations: 3.984 kB / 0.9575 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-06/0.8554, allocations: 4.938 kB / 0.9575 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.8555, allocations: 161.2 kB / 0.9577 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.8555, allocations: 0 / 0.9577 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.085e-05/0.8556, allocations: 24.55 kB / 0.9577 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.8556, allocations: 0 / 0.9577 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.8556, allocations: 0 / 0.9577 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.8556, allocations: 0 / 0.9577 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.8556, allocations: 10.14 kB / 0.9577 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003239/0.856, allocations: 218.8 kB / 0.9579 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.02e-05/0.856, allocations: 82.42 kB / 0.958 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.856, allocations: 4 kB / 0.958 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.8561, allocations: 15.58 kB / 0.958 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.8562, allocations: 10.05 kB / 0.958 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-06/0.8562, allocations: 5.078 kB / 0.9581 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.764e-05/0.8562, allocations: 92.8 kB / 0.9581 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8562, allocations: 1.094 kB / 0.9581 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002127/0.8564, allocations: 5.438 kB / 0.9581 GB, free: 4.242 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.0005026/0.8569, allocations: 0.7394 MB / 0.9589 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00031/0.8572, allocations: 93.42 kB / 0.959 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.8573, allocations: 1.156 kB / 0.959 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.8574, allocations: 49.7 kB / 0.959 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.8577, allocations: 7.844 kB / 0.959 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003523/0.858, allocations: 168.7 kB / 0.9592 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.205e-05/0.8581, allocations: 0.6796 MB / 0.9598 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.029e-05/0.8582, allocations: 2.156 kB / 0.9598 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.385e-05/0.8582, allocations: 12.53 kB / 0.9599 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of SimCode: time 2.7e-07/0.8582, allocations: 0 / 0.9599 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009922/0.8681, allocations: 1.298 MB / 0.9611 GB, free: 2 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001329/0.8683, allocations: 190.4 kB / 0.9613 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.67/2.539, allocations: 5.312 kB / 0.9613 GB, free: 1.758 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