Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.262/2.262, allocations: 387.4 MB / 394.9 MB, free: 13.37 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 184.8 kB / 487.4 MB, free: 5.023 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.576/1.576, allocations: 221.5 MB / 0.7824 GB, free: 1.004 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008919/0.0008916, allocations: 91.84 kB / 0.9219 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.699e-05/2.7e-05, allocations: 9.953 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3254, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9337/1.259, allocations: 148.1 MB / 1.351 GB, free: 17.85 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000204/1.259, allocations: 67.48 kB / 1.351 GB, free: 17.85 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004841/1.264, allocations: 1.405 MB / 1.352 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.562e-06/1.264, allocations: 0 / 1.352 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.423e-05/1.264, allocations: 6.594 kB / 1.352 GB, free: 33.47 MB / 0.8386 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.0006186/1.265, allocations: 454.5 kB / 1.353 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/1.265, allocations: 12.08 kB / 1.353 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.711e-05/1.265, allocations: 13.84 kB / 1.353 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/1.265, allocations: 201.2 kB / 1.353 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/1.265, allocations: 0 / 1.353 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/1.265, allocations: 7.969 kB / 1.353 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001981/1.265, allocations: 105.8 kB / 1.353 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/1.266, allocations: 106.9 kB / 1.353 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/1.266, allocations: 0 / 1.353 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/1.266, allocations: 0.75 kB / 1.353 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/1.266, allocations: 0 / 1.353 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007748/1.266, allocations: 0.4945 MB / 1.354 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/1.267, allocations: 129.8 kB / 1.354 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.685e-05/1.267, allocations: 56.16 kB / 1.354 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/1.267, allocations: 4.531 kB / 1.354 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/1.267, allocations: 31.22 kB / 1.354 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.422e-06/1.267, allocations: 0 / 1.354 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0002758/1.267, allocations: 132.2 kB / 1.354 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/1.267, allocations: 80.98 kB / 1.354 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/1.267, allocations: 139.6 kB / 1.354 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/1.267, allocations: 25.7 kB / 1.354 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.807e-05/1.267, allocations: 106.2 kB / 1.354 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/1.267, allocations: 25.02 kB / 1.354 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.154e-06/1.267, allocations: 0.75 kB / 1.354 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001135/1.267, allocations: 328.8 kB / 1.355 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.321e-05/1.268, allocations: 46.22 kB / 1.355 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.37e-05/1.268, allocations: 56.08 kB / 1.355 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.391e-05/1.268, allocations: 49.12 kB / 1.355 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/1.268, allocations: 0 / 1.355 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001643/1.268, allocations: 131.9 kB / 1.355 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/1.268, allocations: 3.875 kB / 1.355 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/1.268, allocations: 8.328 kB / 1.355 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/1.268, allocations: 0 / 1.355 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/1.268, allocations: 51.72 kB / 1.355 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/1.268, allocations: 0 / 1.355 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/1.268, allocations: 30.02 kB / 1.355 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/1.268, allocations: 7.375 kB / 1.355 GB, free: 31.64 MB / 0.8386 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 () * 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 6.973e-05/1.268, allocations: 108.9 kB / 1.355 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000187/1.269, allocations: 132 kB / 1.355 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.292e-05/1.269, allocations: 11.78 kB / 1.355 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.107e-05/1.269, allocations: 17 kB / 1.355 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/1.269, allocations: 4.531 kB / 1.355 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/1.269, allocations: 0 / 1.355 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/1.269, allocations: 4.562 kB / 1.355 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/1.269, allocations: 192.5 kB / 1.355 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/1.269, allocations: 3.359 kB / 1.355 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001916/1.269, allocations: 49.42 kB / 1.355 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/1.269, allocations: 0 / 1.355 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/1.269, allocations: 8.531 kB / 1.355 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/1.269, allocations: 0 / 1.355 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.269, allocations: 0 / 1.355 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/1.269, allocations: 319.1 kB / 1.356 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.742e-05/1.27, allocations: 97.09 kB / 1.356 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/1.27, allocations: 0.5156 kB / 1.356 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/1.27, allocations: 33.75 kB / 1.356 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.377e-05/1.27, allocations: 11.88 kB / 1.356 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/1.27, allocations: 3.953 kB / 1.356 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.406e-05/1.27, allocations: 126.9 kB / 1.356 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.21e-07/1.27, allocations: 0 / 1.356 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000259/1.27, allocations: 15.41 kB / 1.356 GB, free: 30.87 MB / 0.8386 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 () * 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.0005198/1.271, allocations: 0.9122 MB / 1.357 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001732/1.271, allocations: 94.17 kB / 1.357 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/1.271, allocations: 0 / 1.357 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.923e-05/1.271, allocations: 57.97 kB / 1.357 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/1.271, allocations: 14.2 kB / 1.357 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005228/1.272, allocations: 224.4 kB / 1.357 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/1.272, allocations: 0.7092 MB / 1.358 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.452e-05/1.272, allocations: 28.42 kB / 1.358 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.752e-05/1.272, allocations: 36.09 kB / 1.358 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of SimCode: time 2.8e-07/1.272, allocations: 0 / 1.358 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02/1.292, allocations: 1.895 MB / 1.36 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001609/1.293, allocations: 151.8 kB / 1.36 GB, free: 28.9 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.517/2.809, allocations: 0 / 1.36 GB, free: 28.9 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain_res.mat does not exist to compare? outputFormat=mat