Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.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.PID,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PID",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.001089/0.001089, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001365/0.001365, allocations: 172.7 kB / 15.95 MB, free: 208 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.396/1.396, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.541/2.541, allocations: 409.4 MB / 0.684 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004203/0.0004204, allocations: 12 kB / 0.8378 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7681/0.7685, allocations: 146.8 MB / 0.9812 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.003763/0.7723, allocations: 2.881 MB / 0.984 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003531/0.7759, allocations: 2.035 MB / 0.986 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008246/0.7767, allocations: 16 kB / 0.986 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003693/0.7771, allocations: 122.8 kB / 0.9861 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003339/0.7775, allocations: 103.2 kB / 0.9862 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009112/0.7784, allocations: 342.4 kB / 0.9865 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0008859/0.7793, allocations: 1.061 MB / 0.9876 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005398/0.7798, allocations: 426.5 kB / 0.988 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00026/0.7801, allocations: 286.4 kB / 0.9882 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003011/0.7804, allocations: 333.9 kB / 0.9885 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 6.655e-05/0.7805, allocations: 31.94 kB / 0.9886 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.7806, allocations: 47.98 kB / 0.9886 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.7807, allocations: 131.3 kB / 0.9888 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.7809, allocations: 177.1 kB / 0.9889 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0008266/0.7817, allocations: 1.058 MB / 0.99 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.7817, allocations: 0 / 0.99 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.784e-06/0.7817, allocations: 0 / 0.99 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.7817, allocations: 0 / 0.99 GB, free: 13.21 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.001874/0.7836, allocations: 1.231 MB / 0.9912 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.7837, allocations: 12.03 kB / 0.9912 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001283/0.7838, allocations: 135.4 kB / 0.9913 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001467/0.7839, allocations: 118.6 kB / 0.9914 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006838/0.7846, allocations: 0.5628 MB / 0.992 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.246e-05/0.7847, allocations: 70 kB / 0.992 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.7848, allocations: 95.98 kB / 0.9921 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.7862, allocations: 0.8752 MB / 0.993 GB, free: 9.984 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.7862, allocations: 0 / 0.993 GB, free: 9.984 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.79e-05/0.7863, allocations: 39.98 kB / 0.993 GB, free: 9.945 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.7863, allocations: 27.94 kB / 0.993 GB, free: 9.918 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.7875, allocations: 0.6676 MB / 0.9937 GB, free: 9.25 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003774/0.7913, allocations: 3.027 MB / 0.9966 GB, free: 6.121 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/0.7926, allocations: 0.7465 MB / 0.9974 GB, free: 5.359 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006003/0.7932, allocations: 390.6 kB / 0.9977 GB, free: 4.98 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.618e-05/0.7933, allocations: 16.53 kB / 0.9978 GB, free: 4.961 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006565/0.794, allocations: 363 kB / 0.9981 GB, free: 4.594 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=68): time 1.954e-06/0.794, allocations: 0 / 0.9981 GB, free: 4.594 MB / 0.7481 GB Notification: Performance of matching and sorting (n=68): time 0.001576/0.7956, allocations: 0.8923 MB / 0.999 GB, free: 3.695 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.7957, allocations: 188.5 kB / 0.9992 GB, free: 3.469 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007368/0.7964, allocations: 0.6685 MB / 0.9998 GB, free: 2.789 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.381e-05/0.7965, allocations: 41.7 kB / 0.9999 GB, free: 2.742 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000282/0.7968, allocations: 427.8 kB / 1 GB, free: 2.316 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.7969, allocations: 236.6 kB / 1 GB, free: 2.082 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-05/0.797, allocations: 16 kB / 1 GB, free: 2.066 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.7971, allocations: 337.9 kB / 1.001 GB, free: 1.73 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006238/0.7977, allocations: 301.8 kB / 1.001 GB, free: 1.438 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007192/0.7984, allocations: 0.4916 MB / 1.002 GB, free: 0.8789 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006669/0.7991, allocations: 364.8 kB / 1.002 GB, free: 0.5156 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.7991, allocations: 0 / 1.002 GB, free: 0.5156 MB / 0.7481 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001617/0.8007, allocations: 0.912 MB / 1.003 GB, free: 15.59 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001184/0.8009, allocations: 211.5 kB / 1.003 GB, free: 15.34 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.8009, allocations: 8 kB / 1.003 GB, free: 15.33 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.8009, allocations: 8 kB / 1.003 GB, free: 15.32 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006083/0.8015, allocations: 167.8 kB / 1.003 GB, free: 15.16 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.8016, allocations: 11.94 kB / 1.003 GB, free: 15.14 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005919/0.8022, allocations: 183.8 kB / 1.003 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.335e-05/0.8022, allocations: 28 kB / 1.003 GB, free: 14.94 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 6.101e-06/0.8022, allocations: 4 kB / 1.003 GB, free: 14.93 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001047/0.8033, allocations: 0.6729 MB / 1.004 GB, free: 14.25 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.8033, allocations: 4 kB / 1.004 GB, free: 14.25 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.155e-06/0.8033, allocations: 8 kB / 1.004 GB, free: 14.24 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004646/0.8038, allocations: 135.8 kB / 1.004 GB, free: 14.11 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.8038, allocations: 4 kB / 1.004 GB, free: 14.11 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004769/0.8043, allocations: 135.5 kB / 1.004 GB, free: 13.97 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-05/0.8043, allocations: 35.98 kB / 1.004 GB, free: 13.94 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,noLimPID.con1.y,limPI.con1.y,limPID.con1.y,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 1 * 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.0003552/0.8047, allocations: 312.8 kB / 1.005 GB, free: 13.62 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.663e-05/0.8048, allocations: 79.06 kB / 1.005 GB, free: 13.54 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/0.806, allocations: 0.6905 MB / 1.005 GB, free: 12.84 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.806, allocations: 8 kB / 1.005 GB, free: 12.83 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.8061, allocations: 3.938 kB / 1.005 GB, free: 12.83 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/0.8061, allocations: 4.078 kB / 1.005 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002242/0.8083, allocations: 1.71 MB / 1.007 GB, free: 11.03 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.8083, allocations: 4 kB / 1.007 GB, free: 11.03 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005103/0.8089, allocations: 140.1 kB / 1.007 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.8089, allocations: 11.95 kB / 1.007 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.689e-05/0.8089, allocations: 16 kB / 1.007 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/0.8089, allocations: 11.98 kB / 1.007 GB, free: 10.85 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.8089, allocations: 0 / 1.007 GB, free: 10.85 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001744/0.8107, allocations: 1.14 MB / 1.008 GB, free: 9.672 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.8108, allocations: 164.1 kB / 1.009 GB, free: 9.492 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.08e-05/0.8109, allocations: 23.95 kB / 1.009 GB, free: 9.469 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003563/0.8113, allocations: 59.95 kB / 1.009 GB, free: 9.41 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.1e-05/0.8114, allocations: 52.44 kB / 1.009 GB, free: 9.359 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.685e-05/0.8114, allocations: 24 kB / 1.009 GB, free: 9.336 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0005627/0.812, allocations: 475 kB / 1.009 GB, free: 8.879 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.723e-06/0.812, allocations: 0 / 1.009 GB, free: 8.879 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0009406/0.8129, allocations: 326.6 kB / 1.009 GB, free: 8.559 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (limPID.I.y,limPID.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.002327/0.8153, allocations: 1.716 MB / 1.011 GB, free: 6.785 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002231/0.8175, allocations: 1.174 MB / 1.012 GB, free: 5.582 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.8175, allocations: 1.5 kB / 1.012 GB, free: 5.582 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0005989/0.8181, allocations: 327.5 kB / 1.013 GB, free: 5.266 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.8192, allocations: 174.3 kB / 1.013 GB, free: 5.094 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007621/0.8268, allocations: 4.969 MB / 1.018 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004999/0.8273, allocations: 0.9745 MB / 1.019 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0004412/0.8278, allocations: 105.9 kB / 1.019 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000458/0.8282, allocations: 343.3 kB / 1.019 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of SimCode: time 1.172e-06/0.8283, allocations: 0 / 1.019 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02941/0.8577, allocations: 15.92 MB / 1.035 GB, free: 14.83 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001572/0.8579, allocations: 191 kB / 1.035 GB, free: 14.59 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.293/3.151, allocations: 0 / 1.035 GB, free: 14.59 MB / 0.795 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PID.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID_res.mat does not exist to compare? outputFormat=mat