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.0009929/0.0009928, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.001194/0.001194, allocations: 168.7 kB / 15.95 MB, free: 204 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.47/1.47, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.683/2.683, allocations: 409.4 MB / 0.684 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003561/0.0003562, allocations: 15.94 kB / 0.8378 GB, free: 6.445 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7841/0.7845, allocations: 146.8 MB / 0.9812 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput): time 0.002331/0.7869, allocations: 1.393 MB / 0.9825 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002127/0.789, allocations: 1.209 MB / 0.9837 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003533/0.7894, allocations: 8 kB / 0.9837 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003287/0.7898, allocations: 51.52 kB / 0.9838 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.7899, allocations: 39.7 kB / 0.9838 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003777/0.7903, allocations: 103.8 kB / 0.9839 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005104/0.7908, allocations: 433.1 kB / 0.9843 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003053/0.7911, allocations: 178.7 kB / 0.9845 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.7913, allocations: 99.39 kB / 0.9846 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.7914, allocations: 139.1 kB / 0.9847 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.581e-05/0.7915, allocations: 16 kB / 0.9847 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 4.186e-05/0.7915, allocations: 12 kB / 0.9847 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.505e-05/0.7916, allocations: 55.7 kB / 0.9848 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.165e-05/0.7917, allocations: 85.52 kB / 0.9849 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000352/0.792, allocations: 425.1 kB / 0.9853 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.792, allocations: 0 / 0.9853 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.923e-06/0.792, allocations: 0 / 0.9853 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.7921, allocations: 0 / 0.9853 GB, free: 1.992 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.001204/0.7933, allocations: 0.6705 MB / 0.9859 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.7933, allocations: 8.031 kB / 0.9859 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.239e-05/0.7934, allocations: 78.52 kB / 0.986 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.726e-05/0.7935, allocations: 51.38 kB / 0.9861 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004165/0.7939, allocations: 319.3 kB / 0.9864 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.7939, allocations: 29 kB / 0.9864 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.613e-05/0.794, allocations: 39.91 kB / 0.9864 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006656/0.7947, allocations: 406.9 kB / 0.9868 GB, free: 304 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.7947, allocations: 0 / 0.9868 GB, free: 304 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.385e-05/0.7947, allocations: 19.98 kB / 0.9868 GB, free: 284 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.7948, allocations: 8 kB / 0.9868 GB, free: 276 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005316/0.7953, allocations: 287.9 kB / 0.9871 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002043/0.7974, allocations: 1.37 MB / 0.9885 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007617/0.7981, allocations: 290.3 kB / 0.9887 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002211/0.7984, allocations: 118.3 kB / 0.9888 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.191e-05/0.7984, allocations: 8.188 kB / 0.9889 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.7984, allocations: 38.73 kB / 0.9889 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=21): time 1.783e-06/0.7985, allocations: 3.938 kB / 0.9889 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of matching and sorting (n=21): time 0.0006934/0.7992, allocations: 324.7 kB / 0.9892 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.375e-05/0.7992, allocations: 102.8 kB / 0.9893 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006577/0.7999, allocations: 397.6 kB / 0.9897 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.7999, allocations: 29.7 kB / 0.9897 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.8001, allocations: 247.9 kB / 0.9899 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.517e-05/0.8002, allocations: 74.84 kB / 0.99 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.75e-05/0.8002, allocations: 12 kB / 0.99 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.8004, allocations: 342.8 kB / 0.9904 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002794/0.8007, allocations: 119.9 kB / 0.9905 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003325/0.801, allocations: 212.8 kB / 0.9907 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000297/0.8013, allocations: 141.7 kB / 0.9908 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.8013, allocations: 4 kB / 0.9908 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008295/0.8022, allocations: 389 kB / 0.9912 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002721/0.8025, allocations: 134.7 kB / 0.9913 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.8025, allocations: 0 / 0.9913 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.8025, allocations: 4 kB / 0.9913 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002917/0.8028, allocations: 75.94 kB / 0.9914 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.8028, allocations: 4 kB / 0.9914 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002423/0.8031, allocations: 67.55 kB / 0.9915 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.781e-05/0.8031, allocations: 16 kB / 0.9915 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.239e-05/0.8032, allocations: 5.25 kB / 0.9915 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006318/0.8038, allocations: 261.2 kB / 0.9917 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.8038, allocations: 4 kB / 0.9917 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.213e-06/0.8038, allocations: 4 kB / 0.9917 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.8041, allocations: 68.06 kB / 0.9918 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.8041, allocations: 7.891 kB / 0.9918 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.8043, allocations: 43.67 kB / 0.9918 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.8043, allocations: 12 kB / 0.9919 GB, free: 10.93 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.0002209/0.8045, allocations: 233 kB / 0.9921 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.499e-05/0.8046, allocations: 39.52 kB / 0.9921 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000501/0.8051, allocations: 263.8 kB / 0.9924 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.8051, allocations: 4 kB / 0.9924 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.505e-06/0.8051, allocations: 7.953 kB / 0.9924 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.8051, allocations: 3.984 kB / 0.9924 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001548/0.8067, allocations: 0.8631 MB / 0.9932 GB, free: 9.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.8067, allocations: 8.031 kB / 0.9932 GB, free: 9.422 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002065/0.8069, allocations: 55.89 kB / 0.9933 GB, free: 9.367 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.8069, allocations: 0 / 0.9933 GB, free: 9.367 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.552e-05/0.807, allocations: 8 kB / 0.9933 GB, free: 9.359 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.807, allocations: 4 kB / 0.9933 GB, free: 9.355 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.807, allocations: 7.938 kB / 0.9933 GB, free: 9.348 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000833/0.8078, allocations: 0.4992 MB / 0.9938 GB, free: 8.809 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.808, allocations: 116.8 kB / 0.9939 GB, free: 8.676 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.556e-05/0.808, allocations: 11.94 kB / 0.9939 GB, free: 8.664 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.8082, allocations: 23.97 kB / 0.9939 GB, free: 8.641 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.8083, allocations: 15.98 kB / 0.994 GB, free: 8.625 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.8083, allocations: 12 kB / 0.994 GB, free: 8.613 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000346/0.8086, allocations: 287.1 kB / 0.9942 GB, free: 8.336 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8087, allocations: 4 kB / 0.9942 GB, free: 8.332 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005335/0.8092, allocations: 123.5 kB / 0.9944 GB, free: 8.211 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.0013/0.8105, allocations: 1.052 MB / 0.9954 GB, free: 7.109 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009128/0.8114, allocations: 409.7 kB / 0.9958 GB, free: 6.711 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.8114, allocations: 0 / 0.9958 GB, free: 6.711 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002334/0.8117, allocations: 112.9 kB / 0.9959 GB, free: 6.602 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005881/0.8123, allocations: 73.41 kB / 0.996 GB, free: 6.531 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003954/0.8162, allocations: 2.173 MB / 0.9981 GB, free: 4.254 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004523/0.8167, allocations: 0.796 MB / 0.9989 GB, free: 3.434 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001846/0.8169, allocations: 42.94 kB / 0.9989 GB, free: 3.395 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/0.8171, allocations: 131.4 kB / 0.999 GB, free: 3.266 MB / 0.7481 GB Notification: Performance of SimCode: time 3.31e-07/0.8171, allocations: 4 kB / 0.999 GB, free: 3.262 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02688/0.844, allocations: 6.665 MB / 1.006 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00027/0.8443, allocations: 230.9 kB / 1.006 GB, free: 12.57 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.962/2.807, allocations: 4 kB / 1.006 GB, free: 12.57 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