Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.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.PIDInitialState,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState",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.001115/0.001115, allocations: 100 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.001338/0.001338, 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.668/1.668, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.833/2.833, allocations: 409.2 MB / 0.6838 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006537/0.0006538, allocations: 12 kB / 0.8375 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7862/0.7869, allocations: 146.8 MB / 0.9809 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.002061/0.789, allocations: 1.397 MB / 0.9823 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001754/0.7908, allocations: 1.221 MB / 0.9834 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001848/0.791, allocations: 4 kB / 0.9835 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 7.544e-05/0.7911, allocations: 35.58 kB / 0.9835 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002093/0.7913, allocations: 63.78 kB / 0.9835 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003068/0.7916, allocations: 111.8 kB / 0.9837 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003819/0.792, allocations: 281.4 kB / 0.9839 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003209/0.7924, allocations: 188.7 kB / 0.9841 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.7925, allocations: 107.4 kB / 0.9842 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.7927, allocations: 131.2 kB / 0.9843 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.7927, allocations: 12 kB / 0.9843 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.965e-05/0.7928, allocations: 8 kB / 0.9843 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.481e-05/0.7928, allocations: 67.69 kB / 0.9844 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.69e-05/0.7929, allocations: 81.45 kB / 0.9845 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003991/0.7933, allocations: 449.1 kB / 0.9849 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.7933, allocations: 0 / 0.9849 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.933e-06/0.7933, allocations: 0 / 0.9849 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.7933, allocations: 0 / 0.9849 GB, free: 2.133 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001092/0.7944, allocations: 0.6784 MB / 0.9856 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.7945, allocations: 8.031 kB / 0.9856 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001998/0.7947, allocations: 74.53 kB / 0.9857 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.145e-05/0.7948, allocations: 55.28 kB / 0.9857 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004533/0.7952, allocations: 343.1 kB / 0.986 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.96e-05/0.7953, allocations: 29 kB / 0.9861 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.857e-05/0.7953, allocations: 36 kB / 0.9861 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006588/0.796, allocations: 415 kB / 0.9865 GB, free: 412 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.796, allocations: 0 / 0.9865 GB, free: 412 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.387e-05/0.7961, allocations: 20 kB / 0.9865 GB, free: 392 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.7961, allocations: 8 kB / 0.9865 GB, free: 384 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006733/0.7968, allocations: 303.8 kB / 0.9868 GB, free: 84 kB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002064/0.7988, allocations: 1.397 MB / 0.9882 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007995/0.7997, allocations: 270.9 kB / 0.9884 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.7997, allocations: 4 kB / 0.9884 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.7997, allocations: 34.55 kB / 0.9885 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=20): time 1.804e-06/0.7997, allocations: 0 / 0.9885 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20): time 0.0007339/0.8005, allocations: 320 kB / 0.9888 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.503e-05/0.8006, allocations: 110.8 kB / 0.9889 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004534/0.801, allocations: 401.5 kB / 0.9893 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.8011, allocations: 33.69 kB / 0.9893 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.8013, allocations: 255.6 kB / 0.9895 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.194e-05/0.8013, allocations: 71 kB / 0.9896 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.495e-05/0.8013, allocations: 4 kB / 0.9896 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000198/0.8015, allocations: 346.8 kB / 0.9899 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000265/0.8018, allocations: 124.5 kB / 0.9901 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000325/0.8021, allocations: 204.4 kB / 0.9903 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002937/0.8024, allocations: 139.8 kB / 0.9904 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.8025, allocations: 0 / 0.9904 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006867/0.8032, allocations: 374.1 kB / 0.9907 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003716/0.8035, allocations: 0.7918 MB / 0.9915 GB, free: 11 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.8036, allocations: 4 kB / 0.9915 GB, free: 11 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.8036, allocations: 4 kB / 0.9915 GB, free: 11 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002916/0.8039, allocations: 75.89 kB / 0.9916 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.8039, allocations: 7.984 kB / 0.9916 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002607/0.8042, allocations: 71.5 kB / 0.9917 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.288e-05/0.8042, allocations: 8 kB / 0.9917 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/0.8042, allocations: 4 kB / 0.9917 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004449/0.8047, allocations: 263.6 kB / 0.9919 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.8047, allocations: 7.984 kB / 0.9919 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.909e-06/0.8047, allocations: 4 kB / 0.992 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/0.8049, allocations: 59.91 kB / 0.992 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.8049, allocations: 7.938 kB / 0.992 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.8051, allocations: 51.89 kB / 0.9921 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.8051, allocations: 15.95 kB / 0.9921 GB, free: 10.43 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.con1.y,limPID.con1.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.0002157/0.8054, allocations: 233.1 kB / 0.9923 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.321e-05/0.8054, allocations: 35.53 kB / 0.9923 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005487/0.806, allocations: 258.7 kB / 0.9926 GB, free: 9.898 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.806, allocations: 4 kB / 0.9926 GB, free: 9.895 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.806, allocations: 0 / 0.9926 GB, free: 9.895 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.806, allocations: 0 / 0.9926 GB, free: 9.895 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.8073, allocations: 0.8006 MB / 0.9934 GB, free: 9.023 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.8073, allocations: 4 kB / 0.9934 GB, free: 9.02 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.8075, allocations: 51.91 kB / 0.9934 GB, free: 8.969 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.8075, allocations: 0 / 0.9934 GB, free: 8.969 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.8075, allocations: 4 kB / 0.9934 GB, free: 8.965 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.8076, allocations: 4 kB / 0.9934 GB, free: 8.961 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.8076, allocations: 3.953 kB / 0.9934 GB, free: 8.957 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007677/0.8083, allocations: 0.5401 MB / 0.994 GB, free: 8.355 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.8085, allocations: 120.7 kB / 0.9941 GB, free: 8.219 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.602e-05/0.8085, allocations: 4 kB / 0.9941 GB, free: 8.215 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.8088, allocations: 27.97 kB / 0.9941 GB, free: 8.188 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.113e-05/0.8088, allocations: 19.94 kB / 0.9941 GB, free: 8.168 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.8088, allocations: 8 kB / 0.9941 GB, free: 8.16 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00029/0.8091, allocations: 283.2 kB / 0.9944 GB, free: 7.887 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8091, allocations: 0 / 0.9944 GB, free: 7.887 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005128/0.8096, allocations: 127.5 kB / 0.9945 GB, free: 7.762 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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.001331/0.811, allocations: 1.424 MB / 0.9959 GB, free: 6.277 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008235/0.8118, allocations: 397.5 kB / 0.9963 GB, free: 5.891 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.8118, allocations: 0 / 0.9963 GB, free: 5.891 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002086/0.812, allocations: 113 kB / 0.9964 GB, free: 5.781 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005195/0.8126, allocations: 62.11 kB / 0.9965 GB, free: 5.723 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003951/0.8165, allocations: 3.362 MB / 0.9997 GB, free: 2.254 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.8169, allocations: 0.8116 MB / 1.001 GB, free: 1.418 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000166/0.8171, allocations: 39.27 kB / 1.001 GB, free: 1.383 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002148/0.8173, allocations: 151.2 kB / 1.001 GB, free: 1.234 MB / 0.7481 GB Notification: Performance of SimCode: time 9.92e-07/0.8174, allocations: 0 / 1.001 GB, free: 1.234 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4266/1.244, allocations: 6.58 MB / 1.007 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004115/1.244, allocations: 198 kB / 1.007 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.606/3.851, allocations: 1.719 kB / 1.007 GB, free: 10.62 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState_res.mat does not exist to compare? outputFormat=mat