Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.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.Integers.Validation.MultiSum,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",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.001691/0.001691, 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.002486/0.002486, allocations: 177.3 kB / 15.94 MB, free: 228 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.249/2.249, allocations: 223.2 MB / 239.9 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.335/3.335, allocations: 409.2 MB / 0.6838 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006054/0.0006062, allocations: 16 kB / 0.8375 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.065/1.065, allocations: 146.8 MB / 0.9809 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001799/1.067, allocations: 0.5427 MB / 0.9814 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001649/1.069, allocations: 0.8819 MB / 0.9823 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.157e-05/1.069, allocations: 4 kB / 0.9823 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001686/1.069, allocations: 11.86 kB / 0.9823 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000167/1.07, allocations: 7.984 kB / 0.9823 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/1.07, allocations: 51.88 kB / 0.9823 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002073/1.07, allocations: 79.77 kB / 0.9824 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002387/1.07, allocations: 29.3 kB / 0.9824 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/1.07, allocations: 47.83 kB / 0.9825 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001933/1.071, allocations: 71.72 kB / 0.9826 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.706e-05/1.071, allocations: 4 kB / 0.9826 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.06e-05/1.071, allocations: 8 kB / 0.9826 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.308e-05/1.071, allocations: 19.91 kB / 0.9826 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.248e-05/1.071, allocations: 41.64 kB / 0.9826 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001862/1.071, allocations: 95.77 kB / 0.9827 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/1.071, allocations: 0 / 0.9827 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.767e-06/1.071, allocations: 0 / 0.9827 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.548e-06/1.071, allocations: 0 / 0.9827 GB, free: 4.352 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001261/1.072, allocations: 441.1 kB / 0.9831 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.606e-05/1.072, allocations: 8.031 kB / 0.9832 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.631e-05/1.073, allocations: 42.55 kB / 0.9832 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.415e-05/1.073, allocations: 15.84 kB / 0.9832 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004031/1.073, allocations: 207.3 kB / 0.9834 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/1.073, allocations: 8 kB / 0.9834 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.917e-05/1.073, allocations: 4 kB / 0.9834 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005928/1.074, allocations: 174.9 kB / 0.9836 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/1.074, allocations: 0 / 0.9836 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/1.074, allocations: 0 / 0.9836 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/1.074, allocations: 0 / 0.9836 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006506/1.074, allocations: 191.8 kB / 0.9838 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009285/1.075, allocations: 424.5 kB / 0.9842 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000922/1.076, allocations: 186.5 kB / 0.9843 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/1.076, allocations: 0 / 0.9843 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/1.076, allocations: 38.59 kB / 0.9844 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/1.076, allocations: 0 / 0.9844 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.001065/1.077, allocations: 329.8 kB / 0.9847 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.536e-05/1.078, allocations: 55.41 kB / 0.9848 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/1.078, allocations: 146.9 kB / 0.9849 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/1.078, allocations: 25.8 kB / 0.9849 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/1.078, allocations: 111.9 kB / 0.985 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.413e-05/1.078, allocations: 35.55 kB / 0.9851 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.203e-05/1.078, allocations: 4 kB / 0.9851 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002402/1.078, allocations: 318.8 kB / 0.9854 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003524/1.079, allocations: 103.9 kB / 0.9855 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002755/1.079, allocations: 83.92 kB / 0.9855 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/1.079, allocations: 87.94 kB / 0.9856 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.079, allocations: 0 / 0.9856 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000669/1.08, allocations: 245.3 kB / 0.9859 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/1.08, allocations: 4 kB / 0.9859 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.108e-06/1.08, allocations: 0 / 0.9859 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/1.08, allocations: 3.938 kB / 0.9859 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002724/1.08, allocations: 47.95 kB / 0.9859 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/1.08, allocations: 0 / 0.9859 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/1.08, allocations: 35.88 kB / 0.986 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/1.08, allocations: 4 kB / 0.986 GB, free: 0.8164 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: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001454/1.081, allocations: 129.8 kB / 0.9861 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.937e-05/1.081, allocations: 15.86 kB / 0.9861 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.349e-05/1.081, allocations: 12.72 kB / 0.9861 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/1.081, allocations: 4 kB / 0.9861 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.081, allocations: 3.984 kB / 0.9861 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/1.081, allocations: 0 / 0.9861 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002804/1.081, allocations: 229.6 kB / 0.9863 GB, free: 376 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/1.081, allocations: 0 / 0.9863 GB, free: 376 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000241/1.081, allocations: 43.95 kB / 0.9864 GB, free: 332 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.026e-06/1.081, allocations: 8.234 kB / 0.9864 GB, free: 324 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/1.081, allocations: 11.98 kB / 0.9864 GB, free: 312 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/1.081, allocations: 0 / 0.9864 GB, free: 312 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.081, allocations: 3.938 kB / 0.9864 GB, free: 308 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/1.082, allocations: 335.1 kB / 0.9867 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.389e-05/1.082, allocations: 88.95 kB / 0.9868 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/1.082, allocations: 7.953 kB / 0.9868 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/1.083, allocations: 27.97 kB / 0.9868 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/1.083, allocations: 35.95 kB / 0.9869 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/1.083, allocations: 4 kB / 0.9869 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 9.971e-05/1.083, allocations: 107.8 kB / 0.987 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.11e-07/1.083, allocations: 0 / 0.987 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000267/1.083, allocations: 24 kB / 0.987 GB, free: 15.65 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001221/1.084, allocations: 0.8722 MB / 0.9879 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006777/1.085, allocations: 203.8 kB / 0.988 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.085, allocations: 0 / 0.988 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003298/1.085, allocations: 111.9 kB / 0.9882 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/1.086, allocations: 28.36 kB / 0.9882 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002253/1.088, allocations: 0.9084 MB / 0.9891 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000619/1.089, allocations: 0.7082 MB / 0.9898 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001181/1.089, allocations: 24.42 kB / 0.9898 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/1.089, allocations: 43.41 kB / 0.9898 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of SimCode: time 1.403e-06/1.089, allocations: 0 / 0.9898 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01757/1.107, allocations: 3.199 MB / 0.9929 GB, free: 9.609 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002856/1.107, allocations: 187.5 kB / 0.9931 GB, free: 9.371 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.426/3.533, allocations: 0 / 0.9931 GB, free: 9.371 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat does not exist to compare? outputFormat=mat