Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.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.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_VectorFunctions",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.001372/0.001372, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001574/0.001574, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.59/2.59, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.15/5.15, allocations: 409.2 MB / 0.6838 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006202/0.0006203, allocations: 8 kB / 0.8375 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.469/1.47, allocations: 146.8 MB / 0.9809 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.00282/1.473, allocations: 1.284 MB / 0.9821 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00118/1.474, allocations: 488 kB / 0.9826 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.736e-05/1.474, allocations: 0 / 0.9826 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001318/1.474, allocations: 7.922 kB / 0.9826 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.129e-05/1.475, allocations: 11.98 kB / 0.9826 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/1.475, allocations: 35.89 kB / 0.9826 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001384/1.475, allocations: 55.86 kB / 0.9827 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002093/1.475, allocations: 36.2 kB / 0.9827 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/1.475, allocations: 27.86 kB / 0.9828 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/1.475, allocations: 27.89 kB / 0.9828 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/1.475, allocations: 7.938 kB / 0.9828 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.661e-05/1.476, allocations: 4 kB / 0.9828 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.747e-05/1.476, allocations: 11.98 kB / 0.9828 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.633e-05/1.476, allocations: 41.58 kB / 0.9828 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001518/1.476, allocations: 58.14 kB / 0.9829 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/1.476, allocations: 0 / 0.9829 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.314e-06/1.476, allocations: 0 / 0.9829 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.979e-06/1.476, allocations: 4 kB / 0.9829 GB, free: 4.152 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007245/1.477, allocations: 392.5 kB / 0.9833 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.565e-05/1.477, allocations: 16.02 kB / 0.9833 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.987e-05/1.477, allocations: 34.56 kB / 0.9833 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.922e-05/1.477, allocations: 11.81 kB / 0.9833 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/1.477, allocations: 192 kB / 0.9835 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/1.477, allocations: 4 kB / 0.9835 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/1.477, allocations: 12 kB / 0.9835 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003891/1.478, allocations: 105.6 kB / 0.9836 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/1.478, allocations: 0 / 0.9836 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/1.478, allocations: 7.984 kB / 0.9836 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/1.478, allocations: 4 kB / 0.9836 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003846/1.478, allocations: 111.8 kB / 0.9838 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008796/1.479, allocations: 388.6 kB / 0.9841 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/1.479, allocations: 66.48 kB / 0.9842 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.082e-05/1.479, allocations: 7.984 kB / 0.9842 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.468e-05/1.479, allocations: 34.56 kB / 0.9842 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/1.479, allocations: 0 / 0.9842 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0007178/1.48, allocations: 181.6 kB / 0.9844 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.369e-05/1.48, allocations: 55.34 kB / 0.9845 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/1.48, allocations: 131.4 kB / 0.9846 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/1.48, allocations: 29.7 kB / 0.9846 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.739e-05/1.48, allocations: 108.3 kB / 0.9847 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.524e-05/1.48, allocations: 11.8 kB / 0.9847 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-06/1.481, allocations: 0 / 0.9847 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001716/1.481, allocations: 326.8 kB / 0.985 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/1.481, allocations: 43.97 kB / 0.9851 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/1.481, allocations: 43.97 kB / 0.9851 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/1.481, allocations: 51.97 kB / 0.9852 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/1.481, allocations: 0 / 0.9852 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004325/1.482, allocations: 137.5 kB / 0.9853 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/1.482, allocations: 8 kB / 0.9853 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/1.482, allocations: 3.938 kB / 0.9853 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.853e-05/1.482, allocations: 4 kB / 0.9853 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/1.482, allocations: 19.92 kB / 0.9853 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/1.482, allocations: 4 kB / 0.9853 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/1.482, allocations: 19.83 kB / 0.9854 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.044e-05/1.482, allocations: 0 / 0.9854 GB, free: 1.418 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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.000158/1.482, allocations: 133.7 kB / 0.9855 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.738e-05/1.482, allocations: 12.34 kB / 0.9855 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005236/1.483, allocations: 154.3 kB / 0.9856 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/1.483, allocations: 0 / 0.9856 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/1.483, allocations: 0 / 0.9856 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/1.483, allocations: 0 / 0.9856 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003229/1.483, allocations: 209.5 kB / 0.9858 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/1.483, allocations: 0 / 0.9858 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/1.484, allocations: 27.92 kB / 0.9859 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/1.484, allocations: 4 kB / 0.9859 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/1.484, allocations: 0 / 0.9859 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/1.484, allocations: 0 / 0.9859 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/1.484, allocations: 4 kB / 0.9859 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004888/1.484, allocations: 231.3 kB / 0.9861 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.741e-05/1.484, allocations: 89.02 kB / 0.9862 GB, free: 480 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/1.484, allocations: 11.97 kB / 0.9862 GB, free: 468 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/1.484, allocations: 8 kB / 0.9862 GB, free: 460 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.716e-05/1.484, allocations: 7.984 kB / 0.9862 GB, free: 452 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/1.484, allocations: 0 / 0.9862 GB, free: 452 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001006/1.485, allocations: 109.4 kB / 0.9863 GB, free: 344 kB / 0.7325 GB Notification: Performance of sort global known variables: time 2e-07/1.485, allocations: 0 / 0.9863 GB, free: 344 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004127/1.485, allocations: 23.83 kB / 0.9863 GB, free: 320 kB / 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 (6): * Single equations (assignments): 6 * 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.0009854/1.486, allocations: 0.775 MB / 0.9871 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004306/1.486, allocations: 111.9 kB / 0.9872 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.486, allocations: 0 / 0.9872 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001883/1.487, allocations: 60.28 kB / 0.9873 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/1.487, allocations: 4 kB / 0.9873 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/1.489, allocations: 0.7181 MB / 0.988 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004367/1.489, allocations: 0.7043 MB / 0.9886 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001777/1.49, allocations: 19.98 kB / 0.9887 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.892e-05/1.49, allocations: 27.42 kB / 0.9887 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of SimCode: time 8.71e-07/1.49, allocations: 0 / 0.9887 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02185/1.512, allocations: 1.679 MB / 0.9903 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003146/1.512, allocations: 183.5 kB / 0.9905 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.917/4.429, allocations: 4 kB / 0.9905 GB, free: 12 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_VectorFunctions.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat does not exist to compare? outputFormat=mat