Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.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.Controls.OBC.CDL.Continuous.Validation.Subtract,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Subtract",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.001314/0.001314, allocations: 99.16 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.001555/0.001555, 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 1.468/1.468, allocations: 223.2 MB / 239.9 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.039/3.039, allocations: 409.2 MB / 0.6838 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003614/0.0003619, allocations: 12 kB / 0.8375 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8723/0.8726, allocations: 146.8 MB / 0.9809 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract): time 0.0009032/0.8736, allocations: 430.3 kB / 0.9813 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008638/0.8745, allocations: 0.7948 MB / 0.9821 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.798e-05/0.8745, allocations: 0 / 0.9821 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.965e-05/0.8745, allocations: 3.938 kB / 0.9821 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.729e-05/0.8746, allocations: 7.984 kB / 0.9821 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 7.258e-05/0.8747, allocations: 7.984 kB / 0.9821 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.218e-05/0.8748, allocations: 27.97 kB / 0.9821 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.679e-05/0.8749, allocations: 7.984 kB / 0.9821 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.378e-05/0.8749, allocations: 15.92 kB / 0.9821 GB, free: 5 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.069e-05/0.875, allocations: 23.91 kB / 0.9822 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.875, allocations: 0 / 0.9822 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.129e-05/0.875, allocations: 4 kB / 0.9822 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.119e-05/0.875, allocations: 4 kB / 0.9822 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.271e-05/0.8751, allocations: 29.64 kB / 0.9822 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 5.79e-05/0.8751, allocations: 27.94 kB / 0.9822 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.8752, allocations: 4 kB / 0.9822 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.926e-06/0.8752, allocations: 0 / 0.9822 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.8752, allocations: 3.938 kB / 0.9822 GB, free: 4.898 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005128/0.8757, allocations: 369.5 kB / 0.9826 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.8757, allocations: 12.03 kB / 0.9826 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.938e-05/0.8758, allocations: 34.56 kB / 0.9826 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.306e-05/0.8758, allocations: 3.906 kB / 0.9826 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.8759, allocations: 163.1 kB / 0.9828 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.876, allocations: 0 / 0.9828 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/0.876, allocations: 0 / 0.9828 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002578/0.8762, allocations: 93.53 kB / 0.9829 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.8762, allocations: 3.984 kB / 0.9829 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.8763, allocations: 0 / 0.9829 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.8763, allocations: 0 / 0.9829 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002915/0.8766, allocations: 87.92 kB / 0.983 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003691/0.8769, allocations: 272.9 kB / 0.9832 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.8772, allocations: 74.44 kB / 0.9833 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.8772, allocations: 0 / 0.9833 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.8772, allocations: 30.56 kB / 0.9833 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.8772, allocations: 0 / 0.9833 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005552/0.8778, allocations: 161.7 kB / 0.9835 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.8778, allocations: 59.34 kB / 0.9835 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.439e-05/0.8779, allocations: 105.8 kB / 0.9836 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.878, allocations: 29.7 kB / 0.9837 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.679e-05/0.878, allocations: 84.14 kB / 0.9838 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.878, allocations: 19.75 kB / 0.9838 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/0.878, allocations: 0 / 0.9838 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.8782, allocations: 314.8 kB / 0.9841 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.8783, allocations: 43.91 kB / 0.9841 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.8785, allocations: 47.95 kB / 0.9842 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.8786, allocations: 43.97 kB / 0.9842 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/0.8786, allocations: 0 / 0.9842 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003239/0.879, allocations: 117.6 kB / 0.9843 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.879, allocations: 8 kB / 0.9843 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.879, allocations: 0 / 0.9843 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.879, allocations: 0 / 0.9843 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.8792, allocations: 23.97 kB / 0.9843 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.8792, allocations: 320 / 0.9843 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.982e-05/0.8793, allocations: 23.92 kB / 0.9844 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.8793, allocations: 4 kB / 0.9844 GB, free: 2.488 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 (3): * Single equations (assignments): 3 * 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 7.265e-05/0.8794, allocations: 109.8 kB / 0.9845 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/0.8794, allocations: 11.8 kB / 0.9845 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.6e-05/0.8794, allocations: 11.89 kB / 0.9845 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.8794, allocations: 0 / 0.9845 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.8794, allocations: 4 kB / 0.9845 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.8794, allocations: 4 kB / 0.9845 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.8796, allocations: 165.7 kB / 0.9847 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.8796, allocations: 0 / 0.9847 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.875e-05/0.8797, allocations: 19.98 kB / 0.9847 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.8797, allocations: 4 kB / 0.9847 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.8798, allocations: 3.953 kB / 0.9847 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.8798, allocations: 3.984 kB / 0.9847 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.8798, allocations: 0 / 0.9847 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000368/0.8801, allocations: 211.8 kB / 0.9849 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.803e-05/0.8802, allocations: 81.02 kB / 0.985 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.8803, allocations: 8 kB / 0.985 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.8804, allocations: 15.98 kB / 0.985 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.8804, allocations: 11.97 kB / 0.985 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.8804, allocations: 3.938 kB / 0.985 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.589e-05/0.8805, allocations: 99.25 kB / 0.9851 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8805, allocations: 0 / 0.9851 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002063/0.8807, allocations: 4 kB / 0.9851 GB, free: 1.633 MB / 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 (3): * Single equations (assignments): 3 * 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.0006871/0.8814, allocations: 0.7437 MB / 0.9858 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003321/0.8817, allocations: 91.92 kB / 0.9859 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.8817, allocations: 3.938 kB / 0.9859 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.8819, allocations: 47.95 kB / 0.986 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.8821, allocations: 11.95 kB / 0.986 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004197/0.8825, allocations: 170.2 kB / 0.9861 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.8828, allocations: 0.6809 MB / 0.9868 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.064e-05/0.8829, allocations: 3.984 kB / 0.9868 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.971e-05/0.8829, allocations: 15.44 kB / 0.9868 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of SimCode: time 2.51e-07/0.8829, allocations: 0 / 0.9868 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07015/0.9531, allocations: 1.267 MB / 0.9881 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002453/0.9534, allocations: 194 kB / 0.9883 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.392/3.345, allocations: 1.969 kB / 0.9883 GB, free: 14.41 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Subtract_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Subtract.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract_res.mat does not exist to compare? outputFormat=mat