Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.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.Modulo,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",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.0009231/0.0009231, allocations: 91.38 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.001096/0.001096, 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.457/1.457, allocations: 223.2 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.597/2.597, allocations: 409.4 MB / 0.684 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003739/0.000374, allocations: 8 kB / 0.8378 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7801/0.7805, allocations: 146.8 MB / 0.9812 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.0008978/0.7814, allocations: 418.5 kB / 0.9816 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.7825, allocations: 0.8647 MB / 0.9824 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.618e-05/0.7825, allocations: 3.938 kB / 0.9824 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.046e-05/0.7826, allocations: 0 / 0.9824 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.983e-05/0.7827, allocations: 7.922 kB / 0.9824 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001525/0.7828, allocations: 16 kB / 0.9824 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.757e-05/0.7829, allocations: 43.84 kB / 0.9825 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.639e-05/0.783, allocations: 4 kB / 0.9825 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.067e-05/0.7831, allocations: 11.98 kB / 0.9825 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.347e-05/0.7831, allocations: 15.92 kB / 0.9825 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.7831, allocations: 4 kB / 0.9825 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.027e-05/0.7832, allocations: 0 / 0.9825 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.665e-05/0.7832, allocations: 15.91 kB / 0.9825 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.7833, allocations: 29.7 kB / 0.9826 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.766e-05/0.7834, allocations: 31.94 kB / 0.9826 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.7834, allocations: 0 / 0.9826 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.282e-06/0.7834, allocations: 0 / 0.9826 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.7834, allocations: 0 / 0.9826 GB, free: 4.801 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.0004913/0.7839, allocations: 365.5 kB / 0.9829 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.784, allocations: 12.03 kB / 0.9829 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000106/0.7841, allocations: 38.55 kB / 0.983 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.7841, allocations: 7.906 kB / 0.983 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.7842, allocations: 163 kB / 0.9831 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.427e-05/0.7843, allocations: 4 kB / 0.9832 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.7843, allocations: 0 / 0.9832 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00028/0.7846, allocations: 85.61 kB / 0.9832 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.7846, allocations: 0 / 0.9832 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.7846, allocations: 0 / 0.9832 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.7846, allocations: 0 / 0.9832 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000293/0.7849, allocations: 87.92 kB / 0.9833 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003719/0.7853, allocations: 272.8 kB / 0.9836 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.7855, allocations: 70.48 kB / 0.9836 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.7857, allocations: 52.92 kB / 0.9837 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.7857, allocations: 0 / 0.9837 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.7857, allocations: 34.56 kB / 0.9837 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 4.328e-06/0.7857, allocations: 0 / 0.9837 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005234/0.7863, allocations: 169.5 kB / 0.9839 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.7863, allocations: 51.41 kB / 0.9839 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.063e-05/0.7864, allocations: 109.8 kB / 0.984 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.7864, allocations: 25.7 kB / 0.9841 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.424e-05/0.7865, allocations: 84.14 kB / 0.9841 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.7865, allocations: 23.72 kB / 0.9842 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-06/0.7865, allocations: 0 / 0.9842 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.7866, allocations: 314.8 kB / 0.9845 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.7868, allocations: 51.89 kB / 0.9845 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.7869, allocations: 43.97 kB / 0.9846 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.787, allocations: 35.97 kB / 0.9846 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7871, allocations: 0 / 0.9846 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003191/0.7874, allocations: 125.9 kB / 0.9847 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.7874, allocations: 13.19 kB / 0.9847 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.7874, allocations: 3.984 kB / 0.9847 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.7874, allocations: 4 kB / 0.9847 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.7876, allocations: 19.98 kB / 0.9848 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.7876, allocations: 0 / 0.9848 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.589e-05/0.7877, allocations: 15.98 kB / 0.9848 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.7877, allocations: 0 / 0.9848 GB, free: 2.336 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 9.253e-05/0.7878, allocations: 117.8 kB / 0.9849 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.7878, allocations: 11.86 kB / 0.9849 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.813e-05/0.7878, allocations: 3.906 kB / 0.9849 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.7878, allocations: 0 / 0.9849 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.7878, allocations: 0 / 0.9849 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.7879, allocations: 4 kB / 0.9849 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.7881, allocations: 165.7 kB / 0.9851 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.7881, allocations: 0 / 0.9851 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.491e-05/0.7882, allocations: 23.97 kB / 0.9851 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.7882, allocations: 7.953 kB / 0.9851 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.7882, allocations: 0 / 0.9851 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.7882, allocations: 0 / 0.9851 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.7882, allocations: 0 / 0.9851 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004159/0.7886, allocations: 215.4 kB / 0.9853 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.164e-05/0.7887, allocations: 85 kB / 0.9854 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.7887, allocations: 7.953 kB / 0.9854 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.7888, allocations: 19.92 kB / 0.9854 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.514e-05/0.7889, allocations: 11.98 kB / 0.9854 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.7889, allocations: 0 / 0.9854 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.797e-05/0.789, allocations: 87.28 kB / 0.9855 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.789, allocations: 0 / 0.9855 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002171/0.7892, allocations: 4 kB / 0.9855 GB, free: 1.488 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.0007745/0.79, allocations: 0.7514 MB / 0.9862 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003259/0.7903, allocations: 91.92 kB / 0.9863 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.7903, allocations: 0 / 0.9863 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.7905, allocations: 51.95 kB / 0.9864 GB, free: 0.5664 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.7908, allocations: 11.89 kB / 0.9864 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004791/0.7913, allocations: 158.2 kB / 0.9865 GB, free: 368 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.7917, allocations: 0.6809 MB / 0.9872 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.991e-05/0.7917, allocations: 11.94 kB / 0.9872 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.098e-05/0.7918, allocations: 11.44 kB / 0.9872 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.7918, allocations: 0 / 0.9872 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01274/0.8045, allocations: 1.336 MB / 0.9885 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/0.8048, allocations: 197 kB / 0.9887 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/2.616, allocations: 0 / 0.9887 GB, free: 14.2 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo_res.mat does not exist to compare? outputFormat=mat