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.000889/0.0008888, allocations: 92.31 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.001076/0.001076, 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.462/1.462, allocations: 223.3 MB / 240 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 2.552/2.552, allocations: 409.4 MB / 0.684 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003842/0.0003843, allocations: 12 kB / 0.8378 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7999/0.8003, allocations: 146.8 MB / 0.9811 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.001562/0.8019, allocations: 1.288 MB / 0.9824 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0007268/0.8027, allocations: 492 kB / 0.9829 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.297e-05/0.8027, allocations: 0 / 0.9829 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 8.05e-05/0.8028, allocations: 7.938 kB / 0.9829 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.21e-05/0.8028, allocations: 11.88 kB / 0.9829 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001747/0.803, allocations: 27.95 kB / 0.9829 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.71e-05/0.8031, allocations: 75.7 kB / 0.983 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.8033, allocations: 32.2 kB / 0.983 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.299e-05/0.8034, allocations: 27.91 kB / 0.983 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.852e-05/0.8034, allocations: 31.84 kB / 0.9831 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.8035, allocations: 4 kB / 0.9831 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 4.928e-05/0.8035, allocations: 4 kB / 0.9831 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.279e-05/0.8036, allocations: 23.86 kB / 0.9831 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.137e-05/0.8036, allocations: 37.64 kB / 0.9831 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.794e-05/0.8037, allocations: 54.14 kB / 0.9832 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.8037, allocations: 0 / 0.9832 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.162e-06/0.8037, allocations: 0 / 0.9832 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.8037, allocations: 4 kB / 0.9832 GB, free: 4.184 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.0004733/0.8042, allocations: 398.9 kB / 0.9836 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.8043, allocations: 12.02 kB / 0.9836 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.957e-05/0.8043, allocations: 38.56 kB / 0.9836 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.127e-05/0.8043, allocations: 11.81 kB / 0.9836 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.8045, allocations: 191.9 kB / 0.9838 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.8045, allocations: 4 kB / 0.9838 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.8046, allocations: 8 kB / 0.9838 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002609/0.8048, allocations: 109.6 kB / 0.9839 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.8049, allocations: 3.984 kB / 0.9839 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.8049, allocations: 0 / 0.9839 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.8049, allocations: 4 kB / 0.9839 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00023/0.8051, allocations: 111.9 kB / 0.984 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005739/0.8057, allocations: 388.5 kB / 0.9844 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.8059, allocations: 66.48 kB / 0.9845 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.806, allocations: 64.94 kB / 0.9845 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.923e-05/0.806, allocations: 0 / 0.9845 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.8061, allocations: 34.56 kB / 0.9846 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.8061, allocations: 0 / 0.9846 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0004661/0.8065, allocations: 177.5 kB / 0.9847 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.8066, allocations: 51.41 kB / 0.9848 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.8067, allocations: 135 kB / 0.9849 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.8067, allocations: 29.7 kB / 0.9849 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.362e-05/0.8068, allocations: 112.2 kB / 0.9851 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.8068, allocations: 19.8 kB / 0.9851 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.8068, allocations: 3.938 kB / 0.9851 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.8069, allocations: 318.8 kB / 0.9854 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.807, allocations: 43.97 kB / 0.9854 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.823e-05/0.8072, allocations: 51.95 kB / 0.9855 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.8073, allocations: 43.98 kB / 0.9855 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.8073, allocations: 0 / 0.9855 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002655/0.8076, allocations: 137.9 kB / 0.9856 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.8076, allocations: 9.875 kB / 0.9857 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.8076, allocations: 64 / 0.9857 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.8076, allocations: 4 kB / 0.9857 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.8077, allocations: 19.98 kB / 0.9857 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.198e-06/0.8078, allocations: 11.92 kB / 0.9857 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.917e-05/0.8078, allocations: 23.77 kB / 0.9857 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.8079, allocations: 8 kB / 0.9857 GB, free: 1.367 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 8.929e-05/0.808, allocations: 121.8 kB / 0.9858 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.808, allocations: 7.906 kB / 0.9858 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003311/0.8083, allocations: 150.3 kB / 0.986 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.8083, allocations: 3.984 kB / 0.986 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.8084, allocations: 4 kB / 0.986 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.8084, allocations: 0 / 0.986 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002017/0.8086, allocations: 213.5 kB / 0.9862 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.8086, allocations: 0 / 0.9862 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.8087, allocations: 27.92 kB / 0.9862 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.8087, allocations: 0 / 0.9862 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.8087, allocations: 0 / 0.9862 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.8087, allocations: 0 / 0.9862 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8087, allocations: 0 / 0.9862 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003039/0.809, allocations: 243.3 kB / 0.9865 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/0.8091, allocations: 81.02 kB / 0.9865 GB, free: 440 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.8091, allocations: 3.984 kB / 0.9865 GB, free: 436 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.457e-05/0.8092, allocations: 8 kB / 0.9865 GB, free: 428 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.8093, allocations: 7.984 kB / 0.9866 GB, free: 420 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.8093, allocations: 12.12 kB / 0.9866 GB, free: 408 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.873e-05/0.8093, allocations: 99.25 kB / 0.9867 GB, free: 308 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.8093, allocations: 0 / 0.9867 GB, free: 308 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002365/0.8096, allocations: 23.84 kB / 0.9867 GB, free: 284 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.000599/0.8102, allocations: 0.7826 MB / 0.9874 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002796/0.8105, allocations: 107.9 kB / 0.9875 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.8105, allocations: 3.938 kB / 0.9876 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.8106, allocations: 55.97 kB / 0.9876 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.8108, allocations: 8.688 kB / 0.9876 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.812, allocations: 0.7168 MB / 0.9883 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.8122, allocations: 0.6965 MB / 0.989 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001031/0.8124, allocations: 19.97 kB / 0.989 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.383e-05/0.8124, allocations: 27.42 kB / 0.989 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of SimCode: time 2.6e-07/0.8124, allocations: 0 / 0.989 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01552/0.8279, allocations: 1.701 MB / 0.9907 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002394/0.8282, allocations: 184 kB / 0.9909 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.82/2.648, allocations: 6.75 kB / 0.9909 GB, free: 11.96 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