Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.654/2.654, allocations: 287.3 MB / 302.3 MB, free: 8.383 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001585/0.001584, allocations: 174.8 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.176/2.176, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001611/0.00161, allocations: 113.3 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006414/0.0006414, allocations: 14.78 kB / 0.8658 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2555, allocations: 115.3 MB / 0.9783 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9577/1.213, allocations: 137.4 MB / 1.112 GB, free: 15.42 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000349/1.214, allocations: 68.75 kB / 1.113 GB, free: 15.42 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01018/1.224, allocations: 1.413 MB / 1.114 GB, free: 31.05 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.466e-06/1.224, allocations: 0 / 1.114 GB, free: 31.05 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.663e-05/1.224, allocations: 3.844 kB / 1.114 GB, free: 31.05 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001509/1.226, allocations: 473.3 kB / 1.114 GB, free: 30.66 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.7e-05/1.226, allocations: 15.48 kB / 1.114 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.94e-05/1.226, allocations: 35.91 kB / 1.114 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.317e-05/1.226, allocations: 19.53 kB / 1.114 GB, free: 30.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003893/1.226, allocations: 207.4 kB / 1.115 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/1.226, allocations: 0 / 1.115 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.7e-05/1.226, allocations: 5.578 kB / 1.115 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/1.227, allocations: 172.1 kB / 1.115 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/1.227, allocations: 0 / 1.115 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/1.228, allocations: 0 / 1.115 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/1.228, allocations: 0 / 1.115 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001478/1.229, allocations: 211.5 kB / 1.115 GB, free: 30.33 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00196/1.231, allocations: 0.5199 MB / 1.116 GB, free: 29.97 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009684/1.232, allocations: 178.1 kB / 1.116 GB, free: 29.92 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.413e-05/1.232, allocations: 3.812 kB / 1.116 GB, free: 29.92 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.137e-05/1.232, allocations: 30.56 kB / 1.116 GB, free: 29.88 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 4.388e-06/1.232, allocations: 0 / 1.116 GB, free: 29.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.00241/1.235, allocations: 335.8 kB / 1.116 GB, free: 29.83 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.049e-05/1.235, allocations: 87.84 kB / 1.116 GB, free: 29.73 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002694/1.235, allocations: 143.2 kB / 1.116 GB, free: 29.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.149e-05/1.235, allocations: 29.55 kB / 1.116 GB, free: 29.61 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/1.235, allocations: 107.5 kB / 1.116 GB, free: 29.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.576e-05/1.235, allocations: 27.61 kB / 1.116 GB, free: 29.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.909e-05/1.235, allocations: 0 / 1.116 GB, free: 29.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001877/1.236, allocations: 327.1 kB / 1.117 GB, free: 29.18 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006972/1.236, allocations: 87.83 kB / 1.117 GB, free: 29.18 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007273/1.237, allocations: 115 kB / 1.117 GB, free: 29.16 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007092/1.238, allocations: 97.67 kB / 1.117 GB, free: 29.16 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/1.238, allocations: 0 / 1.117 GB, free: 29.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001587/1.24, allocations: 244.2 kB / 1.117 GB, free: 29.11 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.023e-05/1.24, allocations: 7.562 kB / 1.117 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/1.24, allocations: 0 / 1.117 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.82e-05/1.24, allocations: 3.938 kB / 1.117 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006188/1.24, allocations: 41.55 kB / 1.117 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/1.24, allocations: 0 / 1.117 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004333/1.241, allocations: 50.97 kB / 1.117 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.85e-05/1.241, allocations: 6.938 kB / 1.117 GB, free: 29.09 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.0002985/1.241, allocations: 126.2 kB / 1.117 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/1.241, allocations: 7.562 kB / 1.118 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/1.242, allocations: 18.47 kB / 1.118 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.417e-06/1.242, allocations: 4 kB / 1.118 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/1.242, allocations: 3.906 kB / 1.118 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/1.242, allocations: 3.375 kB / 1.118 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007074/1.242, allocations: 226.7 kB / 1.118 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/1.242, allocations: 3.688 kB / 1.118 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006368/1.243, allocations: 45.28 kB / 1.118 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.898e-05/1.243, allocations: 11.22 kB / 1.118 GB, free: 28.75 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.426e-05/1.243, allocations: 2.875 kB / 1.118 GB, free: 28.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/1.243, allocations: 0 / 1.118 GB, free: 28.75 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/1.243, allocations: 0 / 1.118 GB, free: 28.75 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/1.245, allocations: 421.8 kB / 1.118 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/1.245, allocations: 84.83 kB / 1.118 GB, free: 28.42 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.513e-05/1.245, allocations: 3.875 kB / 1.118 GB, free: 28.42 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005837/1.246, allocations: 35.08 kB / 1.118 GB, free: 28.42 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/1.246, allocations: 7.062 kB / 1.118 GB, free: 28.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.01e-05/1.246, allocations: 11.8 kB / 1.118 GB, free: 28.41 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002451/1.246, allocations: 126.2 kB / 1.118 GB, free: 28.34 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.176e-06/1.246, allocations: 0 / 1.118 GB, free: 28.34 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006392/1.247, allocations: 23.22 kB / 1.118 GB, free: 28.33 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 Backend phase and start with SimCode phase: time 0.002364/1.249, allocations: 1.022 MB / 1.119 GB, free: 27.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001579/1.251, allocations: 205.7 kB / 1.12 GB, free: 27.49 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/1.251, allocations: 0 / 1.12 GB, free: 27.49 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007767/1.252, allocations: 108.3 kB / 1.12 GB, free: 27.48 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005208/1.252, allocations: 14.83 kB / 1.12 GB, free: 27.48 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004538/1.257, allocations: 1.092 MB / 1.121 GB, free: 26.91 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005378/1.258, allocations: 0.7178 MB / 1.122 GB, free: 26.21 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000242/1.258, allocations: 23.33 kB / 1.122 GB, free: 26.21 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/1.258, allocations: 31.62 kB / 1.122 GB, free: 26.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.323e-06/1.258, allocations: 0 / 1.122 GB, free: 26.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02628/1.284, allocations: 2.263 MB / 1.124 GB, free: 26 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002854/1.285, allocations: 188.4 kB / 1.124 GB, free: 25.76 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.475/3.76, allocations: 4 kB / 1.124 GB, free: 25.76 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1)