Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.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.MatrixMin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin",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.001208/0.001208, allocations: 91.69 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.001724/0.001724, 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.434/1.434, allocations: 223.3 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.587/2.587, allocations: 409.4 MB / 0.684 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003901/0.0003902, allocations: 8 kB / 0.8378 GB, free: 6.453 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.773/0.7734, allocations: 146.8 MB / 0.9812 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin): time 0.0009409/0.7744, allocations: 462.3 kB / 0.9816 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000206/0.7746, allocations: 51.83 kB / 0.9817 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.66e-05/0.7746, allocations: 4 kB / 0.9817 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.7748, allocations: 11.92 kB / 0.9817 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.528e-05/0.7748, allocations: 23.91 kB / 0.9817 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001558/0.775, allocations: 15.98 kB / 0.9817 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002043/0.7752, allocations: 135.6 kB / 0.9818 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002094/0.7754, allocations: 131.2 kB / 0.982 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.978e-05/0.7755, allocations: 39.8 kB / 0.982 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.958e-05/0.7756, allocations: 39.72 kB / 0.982 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.7756, allocations: 7.938 kB / 0.982 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.558e-05/0.7756, allocations: 7.938 kB / 0.982 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.029e-05/0.7757, allocations: 31.92 kB / 0.9821 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.479e-05/0.7757, allocations: 49.58 kB / 0.9821 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.7759, allocations: 175.7 kB / 0.9823 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.667e-06/0.7759, allocations: 4 kB / 0.9823 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.935e-06/0.7759, allocations: 0 / 0.9823 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.776, allocations: 0 / 0.9823 GB, free: 5.055 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.000526/0.7765, allocations: 465.2 kB / 0.9827 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.7765, allocations: 8.031 kB / 0.9827 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.836e-05/0.7766, allocations: 62.55 kB / 0.9828 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.555e-05/0.7767, allocations: 19.72 kB / 0.9828 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/0.777, allocations: 254.7 kB / 0.9831 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.777, allocations: 12.38 kB / 0.9831 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.958e-05/0.777, allocations: 16 kB / 0.9831 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005121/0.7776, allocations: 348.5 kB / 0.9834 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.7776, allocations: 0 / 0.9834 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/0.7776, allocations: 12 kB / 0.9834 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.551e-05/0.7777, allocations: 12.19 kB / 0.9835 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003362/0.778, allocations: 272.3 kB / 0.9837 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.7793, allocations: 1.093 MB / 0.9848 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.7794, allocations: 169.1 kB / 0.9849 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.243e-05/0.7795, allocations: 80.14 kB / 0.985 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/0.7795, allocations: 75.28 kB / 0.9851 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.608e-05/0.7796, allocations: 105.8 kB / 0.9852 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.7796, allocations: 4 kB / 0.9852 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 9.989e-05/0.7797, allocations: 51.72 kB / 0.9852 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.985e-05/0.7798, allocations: 134.6 kB / 0.9854 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005528/0.7803, allocations: 0.4926 MB / 0.9859 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.7804, allocations: 25.7 kB / 0.9859 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.7805, allocations: 179.7 kB / 0.986 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/0.7805, allocations: 0 / 0.986 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-06/0.7805, allocations: 0 / 0.986 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.7807, allocations: 346.8 kB / 0.9864 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.418e-05/0.7807, allocations: 47.97 kB / 0.9864 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.7809, allocations: 94.83 kB / 0.9865 GB, free: 480 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.999e-05/0.781, allocations: 63.95 kB / 0.9866 GB, free: 416 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.781, allocations: 3.938 kB / 0.9866 GB, free: 412 kB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002893/0.7813, allocations: 185.2 kB / 0.9868 GB, free: 220 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.7813, allocations: 8 kB / 0.9868 GB, free: 212 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.7813, allocations: 256 / 0.9868 GB, free: 212 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.7813, allocations: 11.94 kB / 0.9868 GB, free: 200 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.7814, allocations: 23.92 kB / 0.9868 GB, free: 176 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.7815, allocations: 4 kB / 0.9868 GB, free: 172 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.981e-05/0.7816, allocations: 31.69 kB / 0.9868 GB, free: 140 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.7816, allocations: 11.98 kB / 0.9868 GB, free: 128 kB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001871/0.7818, allocations: 253 kB / 0.9871 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.905e-05/0.7819, allocations: 132.5 kB / 0.9872 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.402e-05/0.7819, allocations: 138.9 kB / 0.9873 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.806e-05/0.782, allocations: 184.2 kB / 0.9875 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.001e-05/0.7821, allocations: 180.3 kB / 0.9877 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-05/0.7822, allocations: 180.2 kB / 0.9879 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003116/0.7825, allocations: 497 kB / 0.9883 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.34e-05/0.7825, allocations: 101 kB / 0.9884 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.087e-05/0.7826, allocations: 108.9 kB / 0.9885 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.438e-05/0.7827, allocations: 184.3 kB / 0.9887 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.075e-05/0.7827, allocations: 176.3 kB / 0.9889 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.687e-05/0.7828, allocations: 180.2 kB / 0.9891 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.724e-05/0.7829, allocations: 180.2 kB / 0.9892 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/0.783, allocations: 331.5 kB / 0.9895 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.7832, allocations: 225.8 kB / 0.9898 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.735e-05/0.7833, allocations: 192.1 kB / 0.9899 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.7834, allocations: 109.3 kB / 0.99 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.903e-05/0.7835, allocations: 184.2 kB / 0.9902 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.345e-05/0.7835, allocations: 105 kB / 0.9903 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003667/0.7839, allocations: 367 kB / 0.9907 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.9e-07/0.7839, allocations: 0 / 0.9907 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002802/0.7842, allocations: 28 kB / 0.9907 GB, free: 11.95 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.0005377/0.7848, allocations: 0.8435 MB / 0.9915 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001688/0.7849, allocations: 63.89 kB / 0.9916 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.7849, allocations: 0 / 0.9916 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 3.507e-06/0.7849, allocations: 4 kB / 0.9916 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006022/0.7856, allocations: 0.5487 MB / 0.9921 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00213/0.7877, allocations: 1.712 MB / 0.9938 GB, free: 8.676 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.7881, allocations: 0.7791 MB / 0.9946 GB, free: 7.871 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 9.163e-05/0.7882, allocations: 45.53 kB / 0.9946 GB, free: 7.828 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.741e-05/0.7883, allocations: 63.41 kB / 0.9947 GB, free: 7.766 MB / 0.7481 GB Notification: Performance of SimCode: time 3.61e-07/0.7883, allocations: 0 / 0.9947 GB, free: 7.766 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01563/0.8039, allocations: 4.173 MB / 0.9987 GB, free: 3.758 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002196/0.8042, allocations: 196.9 kB / 0.9989 GB, free: 3.52 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.891/2.695, allocations: 2.531 kB / 0.9989 GB, free: 3.52 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin_res.mat does not exist to compare? outputFormat=mat