Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.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.MatrixMax,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax",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.00125/0.00125, 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.001622/0.001622, 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.527/1.527, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.184/3.184, allocations: 409.2 MB / 0.6838 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003711/0.0003712, allocations: 12 kB / 0.8375 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.025/1.025, 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.MatrixMax): time 0.001284/1.027, allocations: 462.3 kB / 0.9813 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002353/1.027, allocations: 51.84 kB / 0.9814 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.454e-05/1.027, allocations: 0 / 0.9814 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001543/1.027, allocations: 15.92 kB / 0.9814 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.625e-05/1.027, allocations: 15.97 kB / 0.9814 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002128/1.027, allocations: 19.98 kB / 0.9814 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001676/1.028, allocations: 79.8 kB / 0.9815 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002896/1.028, allocations: 131.2 kB / 0.9816 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/1.028, allocations: 31.8 kB / 0.9817 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.868e-05/1.028, allocations: 39.72 kB / 0.9817 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/1.028, allocations: 8 kB / 0.9817 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.727e-05/1.028, allocations: 4 kB / 0.9817 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.495e-05/1.028, allocations: 31.86 kB / 0.9817 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.393e-05/1.028, allocations: 53.58 kB / 0.9818 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002059/1.029, allocations: 175.6 kB / 0.982 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/1.029, allocations: 0 / 0.982 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.314e-06/1.029, allocations: 0 / 0.982 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.091e-06/1.029, allocations: 0 / 0.982 GB, free: 5.211 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.000646/1.029, allocations: 461.2 kB / 0.9824 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.163e-05/1.029, allocations: 8.031 kB / 0.9824 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001027/1.029, allocations: 62.53 kB / 0.9825 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.468e-05/1.03, allocations: 23.72 kB / 0.9825 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003904/1.03, allocations: 246.7 kB / 0.9827 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/1.03, allocations: 20.31 kB / 0.9827 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/1.03, allocations: 16 kB / 0.9828 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005371/1.031, allocations: 340.5 kB / 0.9831 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/1.031, allocations: 0 / 0.9831 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/1.031, allocations: 4 kB / 0.9831 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.07e-05/1.031, allocations: 16.19 kB / 0.9831 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003947/1.031, allocations: 264.3 kB / 0.9834 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/1.032, allocations: 1.089 MB / 0.9844 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/1.033, allocations: 169.1 kB / 0.9846 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.199e-05/1.033, allocations: 75.28 kB / 0.9847 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.385e-05/1.033, allocations: 109.8 kB / 0.9848 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.232e-06/1.033, allocations: 0 / 0.9848 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.00011/1.033, allocations: 49.36 kB / 0.9848 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.964e-05/1.033, allocations: 126.7 kB / 0.9849 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006333/1.034, allocations: 0.4965 MB / 0.9854 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/1.034, allocations: 25.7 kB / 0.9854 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/1.034, allocations: 170.1 kB / 0.9856 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.169e-06/1.034, allocations: 0 / 0.9856 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.648e-06/1.034, allocations: 4 kB / 0.9856 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001882/1.034, allocations: 338.8 kB / 0.9859 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.142e-05/1.034, allocations: 47.95 kB / 0.986 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/1.034, allocations: 93.97 kB / 0.9861 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/1.034, allocations: 55.97 kB / 0.9861 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/1.034, allocations: 7.891 kB / 0.9861 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003576/1.035, allocations: 189.2 kB / 0.9863 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/1.035, allocations: 9.562 kB / 0.9863 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/1.035, allocations: 0 / 0.9863 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/1.035, allocations: 4 kB / 0.9863 GB, free: 500 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/1.035, allocations: 19.98 kB / 0.9863 GB, free: 480 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/1.035, allocations: 0 / 0.9863 GB, free: 480 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/1.035, allocations: 35.62 kB / 0.9864 GB, free: 444 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/1.035, allocations: 11.98 kB / 0.9864 GB, free: 432 kB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.0002034/1.035, allocations: 249.3 kB / 0.9866 GB, free: 172 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.142e-05/1.035, allocations: 136.5 kB / 0.9867 GB, free: 28 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/1.036, allocations: 142.8 kB / 0.9869 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.525e-05/1.036, allocations: 176.3 kB / 0.987 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001074/1.036, allocations: 184.3 kB / 0.9872 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000103/1.036, allocations: 188.1 kB / 0.9874 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000429/1.036, allocations: 493.1 kB / 0.9879 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.588e-05/1.036, allocations: 104.9 kB / 0.988 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.15e-05/1.036, allocations: 104.9 kB / 0.9881 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.541e-05/1.037, allocations: 184.2 kB / 0.9882 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/1.037, allocations: 180.3 kB / 0.9884 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.756e-05/1.037, allocations: 180.3 kB / 0.9886 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.537e-05/1.037, allocations: 184.2 kB / 0.9888 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002086/1.037, allocations: 327.5 kB / 0.9891 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002113/1.037, allocations: 221.8 kB / 0.9893 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/1.037, allocations: 192.2 kB / 0.9895 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/1.038, allocations: 112.9 kB / 0.9896 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/1.038, allocations: 176.6 kB / 0.9898 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.677e-05/1.038, allocations: 104.9 kB / 0.9899 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004487/1.038, allocations: 363 kB / 0.9902 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/1.038, allocations: 0 / 0.9902 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002959/1.038, allocations: 24 kB / 0.9902 GB, free: 12.26 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0005583/1.039, allocations: 0.8398 MB / 0.991 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001707/1.039, allocations: 63.89 kB / 0.9911 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/1.039, allocations: 448 / 0.9911 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.835e-06/1.039, allocations: 7.938 kB / 0.9911 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006699/1.04, allocations: 0.5469 MB / 0.9916 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00299/1.043, allocations: 2.542 MB / 0.9941 GB, free: 8.145 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003962/1.043, allocations: 0.7791 MB / 0.9949 GB, free: 7.34 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 9.009e-05/1.043, allocations: 45.53 kB / 0.9949 GB, free: 7.297 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.835e-05/1.044, allocations: 67.41 kB / 0.995 GB, free: 7.23 MB / 0.7481 GB Notification: Performance of SimCode: time 2.31e-07/1.044, allocations: 0 / 0.995 GB, free: 7.23 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01647/1.06, allocations: 4.13 MB / 0.999 GB, free: 3.262 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002061/1.06, allocations: 195.5 kB / 0.9992 GB, free: 3.02 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.527/3.587, allocations: 3.938 kB / 0.9992 GB, free: 3.016 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.mat does not exist to compare? outputFormat=mat