Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.Controls.OBC.CDL.Continuous.Validation.Divide,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Divide",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide,fileNamePrefix="Buildings_latest_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.001291/0.001291, allocations: 99.55 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.001523/0.001523, allocations: 177.3 kB / 15.94 MB, free: 228 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.86/1.86, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.432/3.432, allocations: 409.2 MB / 0.6838 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003709/0.0003709, allocations: 12 kB / 0.8375 GB, free: 6.578 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7656/0.7659, allocations: 146.8 MB / 0.9809 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Divide): time 0.001355/0.7674, allocations: 430.4 kB / 0.9813 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001766/0.7692, allocations: 0.7946 MB / 0.9821 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.102e-05/0.7692, allocations: 4 kB / 0.9821 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.717e-05/0.7693, allocations: 0 / 0.9821 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.7694, allocations: 3.984 kB / 0.9821 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 8.047e-05/0.7695, allocations: 11.98 kB / 0.9821 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002153/0.7698, allocations: 27.91 kB / 0.9821 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.7699, allocations: 7.984 kB / 0.9821 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.77, allocations: 15.94 kB / 0.9821 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.225e-05/0.7701, allocations: 23.89 kB / 0.9822 GB, free: 5 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.7702, allocations: 4 kB / 0.9822 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.818e-06/0.7702, allocations: 0 / 0.9822 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.904e-05/0.7702, allocations: 4 kB / 0.9822 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.419e-05/0.7703, allocations: 33.7 kB / 0.9822 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.114e-05/0.7703, allocations: 23.94 kB / 0.9822 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.7704, allocations: 0 / 0.9822 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.986e-06/0.7704, allocations: 0 / 0.9822 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.7704, allocations: 0 / 0.9822 GB, free: 4.93 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007199/0.7711, allocations: 373.5 kB / 0.9826 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.317e-05/0.7712, allocations: 19.91 kB / 0.9826 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.778e-05/0.7713, allocations: 30.56 kB / 0.9826 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.7713, allocations: 7.844 kB / 0.9826 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.7715, allocations: 163.1 kB / 0.9828 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.7715, allocations: 0 / 0.9828 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.7716, allocations: 8 kB / 0.9828 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003105/0.7719, allocations: 81.59 kB / 0.9829 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.7719, allocations: 0 / 0.9829 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.7719, allocations: 0 / 0.9829 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.7719, allocations: 4 kB / 0.9829 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003404/0.7723, allocations: 83.92 kB / 0.983 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006189/0.7729, allocations: 268.8 kB / 0.9832 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002541/0.7732, allocations: 74.48 kB / 0.9833 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.7732, allocations: 0 / 0.9833 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.949e-05/0.7733, allocations: 30.56 kB / 0.9833 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.7733, allocations: 4 kB / 0.9833 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.000614/0.7739, allocations: 165.6 kB / 0.9835 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.7739, allocations: 51.41 kB / 0.9835 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.7741, allocations: 105.8 kB / 0.9836 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.563e-05/0.7741, allocations: 29.7 kB / 0.9837 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.653e-05/0.7742, allocations: 88.14 kB / 0.9837 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.7742, allocations: 19.73 kB / 0.9838 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-06/0.7742, allocations: 0 / 0.9838 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.7744, allocations: 318.8 kB / 0.9841 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.7745, allocations: 39.97 kB / 0.9841 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.7747, allocations: 43.95 kB / 0.9841 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.7749, allocations: 43.97 kB / 0.9842 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.7749, allocations: 0 / 0.9842 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003467/0.7752, allocations: 129.5 kB / 0.9843 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.7753, allocations: 4 kB / 0.9843 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.7753, allocations: 0 / 0.9843 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.7753, allocations: 0 / 0.9843 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.7755, allocations: 23.97 kB / 0.9843 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.7755, allocations: 0 / 0.9843 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.778e-05/0.7756, allocations: 19.98 kB / 0.9844 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.7756, allocations: 4 kB / 0.9844 GB, free: 2.516 MB / 0.7325 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 0.0001973/0.7758, allocations: 113.8 kB / 0.9845 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.7758, allocations: 7.859 kB / 0.9845 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.312e-05/0.7759, allocations: 8.234 kB / 0.9845 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.7759, allocations: 7.984 kB / 0.9845 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.7759, allocations: 4 kB / 0.9845 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.7759, allocations: 3.984 kB / 0.9845 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002786/0.7762, allocations: 169.6 kB / 0.9847 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.7762, allocations: 0 / 0.9847 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.7763, allocations: 19.98 kB / 0.9847 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.7763, allocations: 0 / 0.9847 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.7764, allocations: 3.953 kB / 0.9847 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.7764, allocations: 0 / 0.9847 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.7764, allocations: 7.984 kB / 0.9847 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004468/0.7768, allocations: 211.4 kB / 0.9849 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.789e-05/0.7769, allocations: 81.02 kB / 0.985 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.7769, allocations: 8 kB / 0.985 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.7771, allocations: 19.94 kB / 0.985 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.917e-05/0.7771, allocations: 3.984 kB / 0.985 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.7771, allocations: 4 kB / 0.985 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.445e-05/0.7772, allocations: 91.27 kB / 0.9851 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8.62e-07/0.7772, allocations: 0 / 0.9851 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002279/0.7774, allocations: 4 kB / 0.9851 GB, free: 1.664 MB / 0.7325 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.0008838/0.7783, allocations: 0.7437 MB / 0.9858 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003933/0.7787, allocations: 91.92 kB / 0.9859 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.7788, allocations: 4 kB / 0.9859 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.7789, allocations: 43.95 kB / 0.986 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.7792, allocations: 13.33 kB / 0.986 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005382/0.7797, allocations: 174.2 kB / 0.9861 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.7801, allocations: 0.6809 MB / 0.9868 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.34e-05/0.7802, allocations: 0 / 0.9868 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.516e-05/0.7802, allocations: 19.42 kB / 0.9868 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of SimCode: time 2.51e-07/0.7802, allocations: 0 / 0.9868 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1541/0.9343, allocations: 1.272 MB / 0.9881 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002904/0.9347, allocations: 200.4 kB / 0.9883 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.534/3.468, allocations: 4 kB / 0.9883 GB, free: 14.42 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Divide_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Divide.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Divide_res.mat does not exist to compare? outputFormat=mat