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.00104/0.00104, allocations: 91.14 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.000962/0.0009623, 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.405/1.405, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.574/2.574, allocations: 409.4 MB / 0.684 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003435/0.0003436, allocations: 12 kB / 0.8378 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7631/0.7635, allocations: 146.8 MB / 0.9812 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax): time 0.0009765/0.7645, allocations: 458.4 kB / 0.9816 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002405/0.7648, allocations: 51.83 kB / 0.9816 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.792e-05/0.7648, allocations: 3.938 kB / 0.9816 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.765, allocations: 11.94 kB / 0.9817 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.3e-05/0.765, allocations: 11.92 kB / 0.9817 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.7652, allocations: 27.95 kB / 0.9817 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.7654, allocations: 139.6 kB / 0.9818 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002198/0.7657, allocations: 127.2 kB / 0.982 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.049e-05/0.7657, allocations: 43.73 kB / 0.982 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.51e-05/0.7658, allocations: 35.72 kB / 0.982 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.07e-05/0.7658, allocations: 4 kB / 0.982 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.622e-05/0.7659, allocations: 4 kB / 0.982 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.245e-05/0.7659, allocations: 35.86 kB / 0.9821 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.83e-05/0.766, allocations: 53.58 kB / 0.9821 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.7662, allocations: 175.7 kB / 0.9823 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.7662, allocations: 4 kB / 0.9823 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.595e-06/0.7662, allocations: 0 / 0.9823 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.7662, allocations: 0 / 0.9823 GB, free: 5.074 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.0006189/0.7668, allocations: 461.2 kB / 0.9827 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.7669, allocations: 8.031 kB / 0.9827 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.285e-05/0.767, allocations: 54.55 kB / 0.9828 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.158e-05/0.767, allocations: 23.72 kB / 0.9828 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/0.7673, allocations: 250.8 kB / 0.9831 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.7674, allocations: 16.36 kB / 0.9831 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.473e-05/0.7674, allocations: 12 kB / 0.9831 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005439/0.768, allocations: 336.5 kB / 0.9834 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.768, allocations: 0 / 0.9834 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.583e-05/0.768, allocations: 11.98 kB / 0.9834 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.05e-05/0.7681, allocations: 20.17 kB / 0.9834 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003507/0.7684, allocations: 268.4 kB / 0.9837 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.7697, allocations: 1.085 MB / 0.9847 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.7698, allocations: 165.1 kB / 0.9849 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.989e-05/0.7698, allocations: 84.14 kB / 0.985 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.709e-05/0.7699, allocations: 75.28 kB / 0.9851 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.806e-05/0.77, allocations: 105.8 kB / 0.9852 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.282e-06/0.77, allocations: 0 / 0.9852 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.0001171/0.7701, allocations: 59.66 kB / 0.9852 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.079e-05/0.7702, allocations: 130.7 kB / 0.9853 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005822/0.7708, allocations: 0.4926 MB / 0.9858 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.7708, allocations: 25.7 kB / 0.9858 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.7709, allocations: 171.8 kB / 0.986 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.581e-06/0.771, allocations: 3.984 kB / 0.986 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-06/0.771, allocations: 0 / 0.986 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.7711, allocations: 342.8 kB / 0.9863 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.996e-05/0.7712, allocations: 39.97 kB / 0.9864 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.7713, allocations: 102 kB / 0.9865 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.7715, allocations: 63.78 kB / 0.9865 GB, free: 480 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.7715, allocations: 4 kB / 0.9865 GB, free: 476 kB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003445/0.7718, allocations: 181.2 kB / 0.9867 GB, free: 288 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.7719, allocations: 4 kB / 0.9867 GB, free: 284 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.7719, allocations: 7.938 kB / 0.9867 GB, free: 276 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.7719, allocations: 0 / 0.9867 GB, free: 276 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.772, allocations: 27.92 kB / 0.9867 GB, free: 248 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.772, allocations: 4 kB / 0.9868 GB, free: 244 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.7721, allocations: 35.67 kB / 0.9868 GB, free: 208 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.7722, allocations: 8 kB / 0.9868 GB, free: 200 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.0002206/0.7724, allocations: 253.2 kB / 0.987 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.843e-05/0.7725, allocations: 132.5 kB / 0.9872 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.207e-05/0.7726, allocations: 134.9 kB / 0.9873 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-05/0.7727, allocations: 180.3 kB / 0.9875 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.708e-05/0.7728, allocations: 184.2 kB / 0.9876 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.349e-05/0.7729, allocations: 184.3 kB / 0.9878 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004282/0.7733, allocations: 493 kB / 0.9883 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.178e-05/0.7734, allocations: 104.9 kB / 0.9884 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.132e-05/0.7734, allocations: 101 kB / 0.9885 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001038/0.7735, allocations: 184.2 kB / 0.9887 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/0.7736, allocations: 188.3 kB / 0.9888 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.58e-05/0.7737, allocations: 184.2 kB / 0.989 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.549e-05/0.7738, allocations: 176.3 kB / 0.9892 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.7741, allocations: 327.5 kB / 0.9895 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001837/0.7743, allocations: 229.8 kB / 0.9897 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.7744, allocations: 184.2 kB / 0.9899 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.7745, allocations: 109.3 kB / 0.99 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.7747, allocations: 180.2 kB / 0.9902 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.848e-05/0.7747, allocations: 108.9 kB / 0.9903 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000465/0.7752, allocations: 359 kB / 0.9906 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7752, allocations: 0 / 0.9906 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003386/0.7756, allocations: 28 kB / 0.9906 GB, free: 12.04 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.0006066/0.7762, allocations: 0.8371 MB / 0.9915 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001415/0.7763, allocations: 67.83 kB / 0.9915 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.7763, allocations: 448 / 0.9915 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 4.769e-06/0.7763, allocations: 8 kB / 0.9915 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005744/0.7769, allocations: 0.5478 MB / 0.9921 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.7791, allocations: 1.695 MB / 0.9937 GB, free: 8.777 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/0.7795, allocations: 0.7713 MB / 0.9945 GB, free: 7.98 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 9.936e-05/0.7796, allocations: 45.53 kB / 0.9945 GB, free: 7.938 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.7798, allocations: 67.41 kB / 0.9946 GB, free: 7.871 MB / 0.7481 GB Notification: Performance of SimCode: time 4.709e-06/0.7798, allocations: 4 kB / 0.9946 GB, free: 7.867 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01522/0.795, allocations: 4.134 MB / 0.9986 GB, free: 3.895 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/0.7952, allocations: 199 kB / 0.9988 GB, free: 3.656 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.814/2.609, allocations: 3.938 kB / 0.9988 GB, free: 3.652 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