Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.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.PIDInitialDerivativeOutput,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput",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.001066/0.001066, allocations: 99.86 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.001228/0.001228, 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.576/1.576, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.659/2.659, allocations: 409.2 MB / 0.6838 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005832/0.0005833, allocations: 12 kB / 0.8375 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7601/0.7608, allocations: 146.8 MB / 0.9809 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput): time 0.001826/0.7626, allocations: 1.401 MB / 0.9823 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001477/0.7641, allocations: 1.225 MB / 0.9835 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001518/0.7643, allocations: 8 kB / 0.9835 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 6.349e-05/0.7644, allocations: 31.59 kB / 0.9835 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001961/0.7646, allocations: 63.78 kB / 0.9836 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002897/0.7649, allocations: 115.8 kB / 0.9837 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003359/0.7652, allocations: 277.5 kB / 0.9839 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000261/0.7655, allocations: 166.7 kB / 0.9841 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.7656, allocations: 115.4 kB / 0.9842 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.7657, allocations: 131.2 kB / 0.9843 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.076e-05/0.7658, allocations: 12 kB / 0.9843 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.912e-05/0.7658, allocations: 16 kB / 0.9843 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.579e-05/0.7659, allocations: 51.75 kB / 0.9844 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.08e-05/0.766, allocations: 85.45 kB / 0.9845 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003344/0.7663, allocations: 421.2 kB / 0.9849 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.7663, allocations: 0 / 0.9849 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7663, allocations: 4 kB / 0.9849 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.7663, allocations: 0 / 0.9849 GB, free: 2.336 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001039/0.7674, allocations: 0.6706 MB / 0.9855 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.7674, allocations: 16.02 kB / 0.9856 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.593e-05/0.7675, allocations: 70.53 kB / 0.9856 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.162e-05/0.7676, allocations: 51.38 kB / 0.9857 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003826/0.768, allocations: 331.1 kB / 0.986 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.984e-05/0.768, allocations: 29 kB / 0.986 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.399e-05/0.7681, allocations: 39.91 kB / 0.9861 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006302/0.7687, allocations: 399 kB / 0.9864 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.7687, allocations: 0 / 0.9864 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.151e-05/0.7688, allocations: 16 kB / 0.9864 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.7688, allocations: 8 kB / 0.9865 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005331/0.7693, allocations: 295.8 kB / 0.9867 GB, free: 332 kB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001949/0.7713, allocations: 1.37 MB / 0.9881 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007645/0.7721, allocations: 283.3 kB / 0.9883 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.7721, allocations: 192 / 0.9883 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.7721, allocations: 38.75 kB / 0.9884 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=21): time 1.062e-06/0.7721, allocations: 0 / 0.9884 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of matching and sorting (n=21): time 0.0006965/0.7728, allocations: 325.6 kB / 0.9887 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.7729, allocations: 114.8 kB / 0.9888 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004075/0.7733, allocations: 393.6 kB / 0.9892 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.7734, allocations: 33.7 kB / 0.9892 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.7735, allocations: 239.9 kB / 0.9894 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.946e-05/0.7736, allocations: 74.84 kB / 0.9895 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.522e-05/0.7736, allocations: 8 kB / 0.9895 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.7737, allocations: 342.8 kB / 0.9898 GB, free: 13 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002652/0.774, allocations: 123.9 kB / 0.99 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000324/0.7743, allocations: 212.8 kB / 0.9902 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002923/0.7746, allocations: 142.9 kB / 0.9903 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.7746, allocations: 0 / 0.9903 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007075/0.7754, allocations: 382 kB / 0.9907 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002481/0.7756, allocations: 0.618 MB / 0.9913 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.7756, allocations: 4 kB / 0.9913 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.7756, allocations: 0 / 0.9913 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002977/0.7759, allocations: 75.89 kB / 0.9913 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.968e-06/0.776, allocations: 7.938 kB / 0.9914 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002491/0.7762, allocations: 67.56 kB / 0.9914 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.7762, allocations: 8 kB / 0.9914 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 7.213e-06/0.7763, allocations: 4 kB / 0.9914 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004553/0.7767, allocations: 261.3 kB / 0.9917 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.625e-06/0.7767, allocations: 0 / 0.9917 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.89e-06/0.7767, allocations: 4 kB / 0.9917 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/0.777, allocations: 64 kB / 0.9917 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.777, allocations: 15.89 kB / 0.9918 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.7772, allocations: 43.67 kB / 0.9918 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.7772, allocations: 12 kB / 0.9918 GB, free: 10.9 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.0001926/0.7774, allocations: 229 kB / 0.992 GB, free: 10.67 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.824e-05/0.7775, allocations: 43.52 kB / 0.9921 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005143/0.778, allocations: 268 kB / 0.9923 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.778, allocations: 0 / 0.9923 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.778, allocations: 7.953 kB / 0.9923 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.778, allocations: 3.984 kB / 0.9923 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00136/0.7794, allocations: 0.8598 MB / 0.9932 GB, free: 9.402 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.7794, allocations: 4.25 kB / 0.9932 GB, free: 9.398 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002012/0.7796, allocations: 55.89 kB / 0.9932 GB, free: 9.344 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.7797, allocations: 4 kB / 0.9932 GB, free: 9.34 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.7797, allocations: 8 kB / 0.9932 GB, free: 9.332 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.7797, allocations: 7.984 kB / 0.9933 GB, free: 9.324 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.7797, allocations: 0 / 0.9933 GB, free: 9.324 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000781/0.7805, allocations: 0.5961 MB / 0.9938 GB, free: 8.641 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.514e-05/0.7806, allocations: 116.9 kB / 0.9939 GB, free: 8.508 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.534e-05/0.7807, allocations: 15.92 kB / 0.994 GB, free: 8.492 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.7809, allocations: 23.98 kB / 0.994 GB, free: 8.469 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/0.7809, allocations: 27.86 kB / 0.994 GB, free: 8.441 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.7809, allocations: 8 kB / 0.994 GB, free: 8.434 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002908/0.7812, allocations: 283.2 kB / 0.9943 GB, free: 8.16 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7812, allocations: 0 / 0.9943 GB, free: 8.16 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004836/0.7817, allocations: 131.5 kB / 0.9944 GB, free: 8.031 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * 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 (21): * Single equations (assignments): 21 * 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.001255/0.783, allocations: 1.692 MB / 0.9961 GB, free: 6.258 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008072/0.7838, allocations: 405.9 kB / 0.9965 GB, free: 5.863 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.7838, allocations: 0 / 0.9965 GB, free: 5.863 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.784, allocations: 112.9 kB / 0.9966 GB, free: 5.754 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/0.7845, allocations: 73.41 kB / 0.9966 GB, free: 5.684 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003863/0.7883, allocations: 3.073 MB / 0.9996 GB, free: 2.496 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.7887, allocations: 0.8038 MB / 1 GB, free: 1.668 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001729/0.7889, allocations: 38.95 kB / 1 GB, free: 1.633 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.7891, allocations: 131.4 kB / 1.001 GB, free: 1.504 MB / 0.7481 GB Notification: Performance of SimCode: time 1.012e-06/0.7891, allocations: 4 kB / 1.001 GB, free: 1.5 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.751/1.54, allocations: 6.653 MB / 1.007 GB, free: 11.06 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003065/1.54, allocations: 218.4 kB / 1.007 GB, free: 10.82 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.72/4.261, allocations: 0 / 1.007 GB, free: 10.82 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput_res.mat does not exist to compare? outputFormat=mat