Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState",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.001263/0.001263, allocations: 99.31 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.001491/0.001491, 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.358/1.358, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.462/2.462, allocations: 409.2 MB / 0.6838 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003798/0.0003799, allocations: 8 kB / 0.8375 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6597/0.6601, allocations: 146.8 MB / 0.9809 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState): time 0.002931/0.6631, allocations: 2.306 MB / 0.9831 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.6642, allocations: 0.5773 MB / 0.9837 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001836/0.6644, allocations: 11.94 kB / 0.9837 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 7.255e-05/0.6645, allocations: 35.58 kB / 0.9838 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003219/0.6648, allocations: 83.64 kB / 0.9838 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002593/0.6651, allocations: 123.8 kB / 0.984 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004086/0.6655, allocations: 305.4 kB / 0.9842 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004043/0.6659, allocations: 189.4 kB / 0.9844 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.666, allocations: 107.4 kB / 0.9845 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.6662, allocations: 127.1 kB / 0.9846 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.344e-05/0.6663, allocations: 12 kB / 0.9847 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.499e-05/0.6663, allocations: 12 kB / 0.9847 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.751e-05/0.6664, allocations: 63.69 kB / 0.9847 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.75e-05/0.6664, allocations: 89.45 kB / 0.9848 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004171/0.6669, allocations: 492.9 kB / 0.9853 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.6669, allocations: 0 / 0.9853 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.088e-06/0.6669, allocations: 0 / 0.9853 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.6669, allocations: 3.938 kB / 0.9853 GB, free: 1.793 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001224/0.6681, allocations: 0.7016 MB / 0.986 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.6682, allocations: 8.031 kB / 0.986 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.513e-05/0.6683, allocations: 74.53 kB / 0.9861 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.26e-05/0.6683, allocations: 59.33 kB / 0.9861 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000451/0.6688, allocations: 351.7 kB / 0.9864 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/0.6688, allocations: 33 kB / 0.9865 GB, free: 492 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.058e-05/0.6689, allocations: 40 kB / 0.9865 GB, free: 452 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000783/0.6697, allocations: 419 kB / 0.9869 GB, free: 16 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.6697, allocations: 0 / 0.9869 GB, free: 16 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.299e-05/0.6698, allocations: 16 kB / 0.9869 GB, free: 0 / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.516e-05/0.6698, allocations: 8.047 kB / 0.9869 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005708/0.6704, allocations: 303.7 kB / 0.9872 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00199/0.6724, allocations: 1.398 MB / 0.9886 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006997/0.6731, allocations: 298.9 kB / 0.9889 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.6731, allocations: 4 kB / 0.9889 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.581e-05/0.6732, allocations: 38.5 kB / 0.9889 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=20): time 1.703e-06/0.6732, allocations: 7.938 kB / 0.9889 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20): time 0.0007215/0.6739, allocations: 319 kB / 0.9892 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.584e-05/0.674, allocations: 106.8 kB / 0.9893 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004645/0.6745, allocations: 425.5 kB / 0.9897 GB, free: 13 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.6745, allocations: 29.7 kB / 0.9898 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.6747, allocations: 263.7 kB / 0.99 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.671e-05/0.6748, allocations: 67 kB / 0.9901 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.371e-05/0.6748, allocations: 4 kB / 0.9901 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.6749, allocations: 354.8 kB / 0.9904 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/0.6752, allocations: 104.6 kB / 0.9905 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002946/0.6755, allocations: 216.3 kB / 0.9907 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003321/0.6758, allocations: 129.3 kB / 0.9909 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.6758, allocations: 0 / 0.9909 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006777/0.6765, allocations: 379.6 kB / 0.9912 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004595/0.677, allocations: 0.7907 MB / 0.992 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.677, allocations: 4 kB / 0.992 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.677, allocations: 8 kB / 0.992 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002672/0.6773, allocations: 71.91 kB / 0.9921 GB, free: 10.49 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.6773, allocations: 7.984 kB / 0.9921 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.6775, allocations: 59.52 kB / 0.9921 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.6776, allocations: 16 kB / 0.9921 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001034/0.6777, allocations: 5.25 kB / 0.9922 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003515/0.678, allocations: 253.2 kB / 0.9924 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.678, allocations: 4 kB / 0.9924 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.06e-06/0.678, allocations: 4.047 kB / 0.9924 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.6783, allocations: 63.83 kB / 0.9925 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.6783, allocations: 4 kB / 0.9925 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.6784, allocations: 59.84 kB / 0.9925 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.6785, allocations: 8 kB / 0.9925 GB, free: 10.02 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPI.noTri.y,limPID.noTri.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.0002023/0.6787, allocations: 233.1 kB / 0.9928 GB, free: 9.777 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.015e-05/0.6787, allocations: 39.53 kB / 0.9928 GB, free: 9.738 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.795e-05/0.6788, allocations: 35.64 kB / 0.9928 GB, free: 9.699 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.6788, allocations: 4 kB / 0.9928 GB, free: 9.695 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.6788, allocations: 0 / 0.9928 GB, free: 9.695 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.6789, allocations: 11.94 kB / 0.9928 GB, free: 9.684 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.68, allocations: 0.7582 MB / 0.9936 GB, free: 8.859 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.68, allocations: 0 / 0.9936 GB, free: 8.859 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002009/0.6802, allocations: 43.97 kB / 0.9936 GB, free: 8.816 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.6802, allocations: 4 kB / 0.9936 GB, free: 8.812 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.6802, allocations: 7.953 kB / 0.9936 GB, free: 8.805 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.169e-06/0.6802, allocations: 4 kB / 0.9936 GB, free: 8.801 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6803, allocations: 11.97 kB / 0.9936 GB, free: 8.789 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008752/0.6812, allocations: 0.5094 MB / 0.9941 GB, free: 8.238 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.99e-05/0.6813, allocations: 120.6 kB / 0.9943 GB, free: 8.102 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.779e-05/0.6813, allocations: 4 kB / 0.9943 GB, free: 8.098 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.6815, allocations: 27.97 kB / 0.9943 GB, free: 8.07 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.204e-05/0.6816, allocations: 15.92 kB / 0.9943 GB, free: 8.055 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.6816, allocations: 11.94 kB / 0.9943 GB, free: 8.043 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003254/0.6819, allocations: 291.2 kB / 0.9946 GB, free: 7.762 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6819, allocations: 0 / 0.9946 GB, free: 7.762 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004782/0.6824, allocations: 131.5 kB / 0.9947 GB, free: 7.633 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * 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 (20): * Single equations (assignments): 20 * 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.00114/0.6835, allocations: 1.254 MB / 0.9959 GB, free: 6.332 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007162/0.6843, allocations: 390.4 kB / 0.9963 GB, free: 5.953 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.6843, allocations: 0 / 0.9963 GB, free: 5.953 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001893/0.6845, allocations: 107.9 kB / 0.9964 GB, free: 5.848 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000465/0.6849, allocations: 73.69 kB / 0.9965 GB, free: 5.777 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004226/0.6892, allocations: 3.454 MB / 0.9999 GB, free: 2.227 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005153/0.6897, allocations: 0.8155 MB / 1.001 GB, free: 1.387 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001844/0.6899, allocations: 43.27 kB / 1.001 GB, free: 1.348 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002327/0.6901, allocations: 143.4 kB / 1.001 GB, free: 1.207 MB / 0.7481 GB Notification: Performance of SimCode: time 5.01e-07/0.6902, allocations: 0 / 1.001 GB, free: 1.207 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0202/0.7104, allocations: 7.016 MB / 1.008 GB, free: 10.41 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002384/0.7106, allocations: 217.9 kB / 1.008 GB, free: 10.17 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.003/2.713, allocations: 1.25 kB / 1.008 GB, free: 10.17 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState_res.mat does not exist to compare? outputFormat=mat