Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,fileNamePrefix="Buildings_9_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.0008505/0.0008508, allocations: 92.16 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.0008641/0.0008642, 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.395/1.395, allocations: 223.3 MB / 240 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.403/2.403, allocations: 390.4 MB / 0.6655 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.0003431, allocations: 12 kB / 0.8149 GB, free: 14.05 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8181/0.8185, allocations: 142.3 MB / 0.9539 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax): time 0.0008833/0.8194, allocations: 458.5 kB / 0.9543 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001987/0.8196, allocations: 52 kB / 0.9544 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.383e-05/0.8197, allocations: 1.281 kB / 0.9544 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.8198, allocations: 15.05 kB / 0.9544 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.979e-05/0.8199, allocations: 16.8 kB / 0.9544 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001575/0.82, allocations: 21.11 kB / 0.9544 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.8202, allocations: 138.6 kB / 0.9545 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002129/0.8204, allocations: 132.9 kB / 0.9547 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.344e-05/0.8205, allocations: 29.92 kB / 0.9547 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.086e-05/0.8206, allocations: 46.33 kB / 0.9547 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.8206, allocations: 3.438 kB / 0.9547 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.582e-05/0.8206, allocations: 2.344 kB / 0.9547 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.84e-05/0.8207, allocations: 34.44 kB / 0.9548 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.758e-05/0.8207, allocations: 49.98 kB / 0.9548 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.821, allocations: 174.8 kB / 0.955 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.821, allocations: 0 / 0.955 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.821, allocations: 3.938 kB / 0.955 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.821, allocations: 1.188 kB / 0.955 GB, free: 7.301 MB / 0.7169 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.0004107/0.8214, allocations: 465.4 kB / 0.9554 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.8215, allocations: 8.844 kB / 0.9555 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.737e-05/0.8215, allocations: 64.23 kB / 0.9555 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.496e-05/0.8216, allocations: 26.45 kB / 0.9555 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.8218, allocations: 244.2 kB / 0.9558 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.8218, allocations: 12.28 kB / 0.9558 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.8219, allocations: 19.62 kB / 0.9558 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004458/0.8223, allocations: 336.2 kB / 0.9561 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.8223, allocations: 11.88 kB / 0.9561 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.8224, allocations: 6.25 kB / 0.9561 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.212e-05/0.8224, allocations: 19.19 kB / 0.9562 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000377/0.8228, allocations: 256.3 kB / 0.9564 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.824, allocations: 1.08 MB / 0.9575 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.804e-05/0.8241, allocations: 178.4 kB / 0.9576 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.876e-05/0.8241, allocations: 81.17 kB / 0.9577 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.8241, allocations: 79.23 kB / 0.9578 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.8241, allocations: 107.1 kB / 0.9579 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.8241, allocations: 0 / 0.9579 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 9.12e-05/0.8242, allocations: 56.23 kB / 0.9579 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.8243, allocations: 130.6 kB / 0.9581 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000596/0.8249, allocations: 0.4916 MB / 0.9585 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.757e-06/0.8249, allocations: 25.7 kB / 0.9586 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.825, allocations: 168.3 kB / 0.9587 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.418e-06/0.825, allocations: 1.375 kB / 0.9587 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-06/0.825, allocations: 0 / 0.9587 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.028e-05/0.8251, allocations: 340.4 kB / 0.9591 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.469e-05/0.8252, allocations: 54.2 kB / 0.9591 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.687e-05/0.8253, allocations: 90.95 kB / 0.9592 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.8254, allocations: 63.7 kB / 0.9592 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.8254, allocations: 0 / 0.9592 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003112/0.8257, allocations: 183.9 kB / 0.9594 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.8258, allocations: 10.52 kB / 0.9594 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.8258, allocations: 1.344 kB / 0.9594 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.8258, allocations: 2.656 kB / 0.9594 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.8259, allocations: 20.42 kB / 0.9595 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.8259, allocations: 5 kB / 0.9595 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.826, allocations: 37.17 kB / 0.9595 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.8261, allocations: 7.094 kB / 0.9595 GB, free: 3.691 MB / 0.7169 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.0001684/0.8263, allocations: 248.9 kB / 0.9597 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.156e-05/0.8263, allocations: 123.6 kB / 0.9599 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.234e-05/0.8264, allocations: 155.6 kB / 0.96 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.373e-05/0.8265, allocations: 185.3 kB / 0.9602 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.344e-05/0.8265, allocations: 180.2 kB / 0.9604 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.541e-05/0.8265, allocations: 181.5 kB / 0.9605 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002544/0.8268, allocations: 497.7 kB / 0.961 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.943e-05/0.8268, allocations: 106.3 kB / 0.9611 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.527e-05/0.8269, allocations: 102.3 kB / 0.9612 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.15e-05/0.8269, allocations: 181.5 kB / 0.9614 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.898e-05/0.8269, allocations: 185.6 kB / 0.9616 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.374e-05/0.827, allocations: 181.6 kB / 0.9617 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.644e-05/0.827, allocations: 180.4 kB / 0.9619 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.8271, allocations: 332.9 kB / 0.9622 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/0.8273, allocations: 228.5 kB / 0.9624 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.083e-05/0.8274, allocations: 177.1 kB / 0.9626 GB, free: 480 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.8275, allocations: 114.3 kB / 0.9627 GB, free: 364 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.924e-05/0.8276, allocations: 180.9 kB / 0.9629 GB, free: 176 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.8276, allocations: 109.8 kB / 0.963 GB, free: 60 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004439/0.828, allocations: 367.3 kB / 0.9633 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.828, allocations: 0 / 0.9633 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003086/0.8284, allocations: 24.56 kB / 0.9634 GB, free: 15.86 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 (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.0004855/0.8289, allocations: 0.8312 MB / 0.9642 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001442/0.829, allocations: 67.33 kB / 0.9642 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.829, allocations: 0 / 0.9642 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.829, allocations: 1.094 kB / 0.9642 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005585/0.8296, allocations: 0.5513 MB / 0.9648 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002549/0.8321, allocations: 1.695 MB / 0.9664 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/0.8326, allocations: 0.7755 MB / 0.9672 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000121/0.8327, allocations: 53.97 kB / 0.9672 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.8328, allocations: 61.27 kB / 0.9673 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of SimCode: time 6.61e-07/0.8328, allocations: 0 / 0.9673 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01437/0.8472, allocations: 4.145 MB / 0.9713 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001675/0.8474, allocations: 197.8 kB / 0.9715 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.672/2.519, allocations: 1.438 kB / 0.9715 GB, free: 10.55 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.mat does not exist to compare? outputFormat=mat