Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.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.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Media_Examples_AirDerivativeCheck",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.279/2.279, allocations: 387.1 MB / 399.7 MB, free: 9.473 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.001004/0.001004, allocations: 179.8 kB / 492.3 MB, free: 0.6016 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.445/1.445, allocations: 221.3 MB / 0.7871 GB, free: 12.94 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008318/0.0008318, allocations: 102.7 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.996e-05/2.999e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2467, allocations: 142.3 MB / 1.212 GB, free: 38.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.157/4.404, allocations: 1.744 GB / 2.957 GB, free: 95.93 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/4.404, allocations: 75.22 kB / 2.957 GB, free: 95.89 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.05305/4.457, allocations: 29.71 MB / 2.986 GB, free: 70.76 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.393e-06/4.457, allocations: 0 / 2.986 GB, free: 70.76 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.602e-06/4.457, allocations: 0 / 2.986 GB, free: 70.76 MB / 1.151 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.0003429/4.457, allocations: 379.1 kB / 2.986 GB, free: 70.34 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/4.457, allocations: 11.97 kB / 2.986 GB, free: 70.33 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.742e-05/4.457, allocations: 38.52 kB / 2.986 GB, free: 70.29 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003306/4.458, allocations: 43.84 kB / 2.986 GB, free: 70.24 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.591e-05/4.458, allocations: 167 kB / 2.986 GB, free: 70.04 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/4.458, allocations: 8 kB / 2.987 GB, free: 70.03 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/4.458, allocations: 8 kB / 2.987 GB, free: 70.02 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/4.458, allocations: 74.42 kB / 2.987 GB, free: 69.95 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/4.458, allocations: 0 / 2.987 GB, free: 69.95 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/4.458, allocations: 4 kB / 2.987 GB, free: 69.94 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/4.458, allocations: 3.953 kB / 2.987 GB, free: 69.94 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.816e-05/4.458, allocations: 43.91 kB / 2.987 GB, free: 69.89 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/4.458, allocations: 185.6 kB / 2.987 GB, free: 69.66 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/4.459, allocations: 82.7 kB / 2.987 GB, free: 69.57 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.432e-05/4.459, allocations: 29.19 kB / 2.987 GB, free: 69.54 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001851/4.459, allocations: 178.1 kB / 2.987 GB, free: 69.33 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/4.459, allocations: 46.44 kB / 2.987 GB, free: 69.28 MB / 1.151 GB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/4.459, allocations: 4 kB / 2.987 GB, free: 69.27 MB / 1.151 GB Notification: Performance of matching and sorting (n=19): time 0.00103/4.46, allocations: 0.5046 MB / 2.988 GB, free: 68.72 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/4.46, allocations: 55.36 kB / 2.988 GB, free: 68.65 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.083e-05/4.46, allocations: 96.94 kB / 2.988 GB, free: 68.55 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/4.46, allocations: 33.7 kB / 2.988 GB, free: 68.51 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 1.721e-05/4.46, allocations: 84.5 kB / 2.988 GB, free: 68.42 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.214e-05/4.46, allocations: 67.02 kB / 2.988 GB, free: 68.36 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-06/4.46, allocations: 4 kB / 2.988 GB, free: 68.35 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.751e-05/4.46, allocations: 314.8 kB / 2.988 GB, free: 68.04 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.864e-05/4.46, allocations: 36 kB / 2.988 GB, free: 68 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.41e-05/4.46, allocations: 73.31 kB / 2.988 GB, free: 67.92 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.297e-05/4.46, allocations: 47.95 kB / 2.988 GB, free: 67.87 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/4.46, allocations: 4 kB / 2.988 GB, free: 67.87 MB / 1.151 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001681/4.46, allocations: 145.5 kB / 2.989 GB, free: 67.72 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/4.46, allocations: 4 kB / 2.989 GB, free: 67.71 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/4.46, allocations: 4 kB / 2.989 GB, free: 67.71 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/4.461, allocations: 0 / 2.989 GB, free: 67.71 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/4.461, allocations: 43.91 kB / 2.989 GB, free: 67.67 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/4.461, allocations: 7.953 kB / 2.989 GB, free: 67.66 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.069e-05/4.461, allocations: 8 kB / 2.989 GB, free: 67.65 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/4.461, allocations: 4 kB / 2.989 GB, free: 67.65 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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 5.251e-05/4.461, allocations: 120.9 kB / 2.989 GB, free: 67.52 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.545e-05/4.461, allocations: 7.906 kB / 2.989 GB, free: 67.52 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.901e-05/4.461, allocations: 16.22 kB / 2.989 GB, free: 67.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/4.461, allocations: 4 kB / 2.989 GB, free: 67.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/4.461, allocations: 0 / 2.989 GB, free: 67.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/4.461, allocations: 3.953 kB / 2.989 GB, free: 67.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/4.461, allocations: 193.6 kB / 2.989 GB, free: 67.26 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/4.461, allocations: 0 / 2.989 GB, free: 67.26 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/4.461, allocations: 43.97 kB / 2.989 GB, free: 67.21 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/4.461, allocations: 4.062 kB / 2.989 GB, free: 67.21 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/4.461, allocations: 4 kB / 2.989 GB, free: 67.21 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/4.461, allocations: 4 kB / 2.989 GB, free: 67.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/4.461, allocations: 3.984 kB / 2.989 GB, free: 67.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/4.461, allocations: 202.5 kB / 2.989 GB, free: 66.98 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 5.653e-05/4.462, allocations: 96.98 kB / 2.989 GB, free: 66.87 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/4.462, allocations: 4.062 kB / 2.989 GB, free: 66.87 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/4.462, allocations: 4 kB / 2.989 GB, free: 66.86 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.341e-05/4.462, allocations: 15.98 kB / 2.989 GB, free: 66.85 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/4.462, allocations: 7.938 kB / 2.989 GB, free: 66.84 MB / 1.151 GB Notification: Performance of sorting global known variables: time 2.086e-05/4.462, allocations: 79.28 kB / 2.989 GB, free: 66.76 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/4.462, allocations: 3.938 kB / 2.989 GB, free: 66.76 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0003112/4.462, allocations: 67.94 kB / 2.989 GB, free: 66.69 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0008372/4.463, allocations: 1.205 MB / 2.991 GB, free: 65.46 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001581/4.463, allocations: 105 kB / 2.991 GB, free: 65.36 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/4.463, allocations: 0 / 2.991 GB, free: 65.36 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 5.383e-05/4.463, allocations: 47.94 kB / 2.991 GB, free: 65.32 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/4.463, allocations: 16.86 kB / 2.991 GB, free: 65.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006629/4.464, allocations: 0.4927 MB / 2.991 GB, free: 64.77 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/4.464, allocations: 0.7128 MB / 2.992 GB, free: 64.03 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001149/4.464, allocations: 16.77 kB / 2.992 GB, free: 64.01 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.565e-05/4.464, allocations: 27.42 kB / 2.992 GB, free: 63.98 MB / 1.151 GB Notification: Performance of SimCode: time 2.8e-07/4.464, allocations: 0 / 2.992 GB, free: 63.98 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02145/4.486, allocations: 12.86 MB / 3.005 GB, free: 51.21 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001296/4.486, allocations: 144 kB / 3.005 GB, free: 50.99 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.039/6.525, allocations: 0 / 3.005 GB, free: 50.99 MB / 1.151 GB (rm -f Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.AirDerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Media_Examples_AirDerivativeCheck.fmu > Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Examples.AirDerivativeCheck_res.mat does not exist to compare? outputFormat=mat