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.001281/0.00128, allocations: 100.1 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.001419/0.001419, 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.785/1.785, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.698/2.698, allocations: 409.2 MB / 0.6838 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004064/0.0004066, allocations: 12 kB / 0.8375 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7894/0.7898, allocations: 146.8 MB / 0.9809 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.003263/0.7931, allocations: 2.912 MB / 0.9837 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003431/0.7966, allocations: 2.035 MB / 0.9857 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006174/0.7972, allocations: 19.94 kB / 0.9857 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001838/0.7974, allocations: 79.03 kB / 0.9858 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004431/0.7979, allocations: 167.4 kB / 0.986 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008686/0.7987, allocations: 386.1 kB / 0.9863 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0007739/0.7995, allocations: 0.6911 MB / 0.987 GB, free: 8 kB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005164/0.8, allocations: 422.6 kB / 0.9874 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002388/0.8003, allocations: 278.5 kB / 0.9877 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002886/0.8006, allocations: 330 kB / 0.988 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 6.348e-05/0.8007, allocations: 28 kB / 0.988 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.8008, allocations: 47.92 kB / 0.9881 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.8009, allocations: 131.4 kB / 0.9882 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.801, allocations: 173.1 kB / 0.9884 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0008044/0.8018, allocations: 1.054 MB / 0.9894 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.8018, allocations: 0 / 0.9894 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8018, allocations: 0 / 0.9894 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.8018, allocations: 0 / 0.9894 GB, free: 13.55 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.001986/0.8038, allocations: 1.231 MB / 0.9906 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.8039, allocations: 15.97 kB / 0.9906 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000128/0.804, allocations: 135.4 kB / 0.9907 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/0.8042, allocations: 122.6 kB / 0.9909 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007016/0.8049, allocations: 0.5628 MB / 0.9914 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.516e-05/0.8049, allocations: 70 kB / 0.9915 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.8051, allocations: 92 kB / 0.9916 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.8064, allocations: 0.8752 MB / 0.9924 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.8064, allocations: 0 / 0.9924 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.197e-05/0.8065, allocations: 40 kB / 0.9925 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.8065, allocations: 20 kB / 0.9925 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/0.8077, allocations: 0.6714 MB / 0.9931 GB, free: 9.582 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004128/0.8119, allocations: 3.027 MB / 0.9961 GB, free: 6.453 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/0.8134, allocations: 0.7572 MB / 0.9968 GB, free: 5.68 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.61e-05/0.8134, allocations: 9.656 kB / 0.9968 GB, free: 5.672 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006617/0.8141, allocations: 371 kB / 0.9972 GB, free: 5.301 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=68): time 3.788e-06/0.8141, allocations: 3.984 kB / 0.9972 GB, free: 5.297 MB / 0.7481 GB Notification: Performance of matching and sorting (n=68): time 0.001646/0.8158, allocations: 0.8846 MB / 0.9981 GB, free: 4.406 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.207e-05/0.8159, allocations: 192.5 kB / 0.9982 GB, free: 4.176 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007046/0.8166, allocations: 0.6724 MB / 0.9989 GB, free: 3.492 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.14e-05/0.8166, allocations: 45.7 kB / 0.9989 GB, free: 3.441 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002733/0.8169, allocations: 427.8 kB / 0.9993 GB, free: 3.016 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/0.8171, allocations: 232.6 kB / 0.9996 GB, free: 2.785 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-05/0.8171, allocations: 19.88 kB / 0.9996 GB, free: 2.766 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.676e-05/0.8172, allocations: 334 kB / 0.9999 GB, free: 2.434 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000621/0.8178, allocations: 301.8 kB / 1 GB, free: 2.141 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007154/0.8186, allocations: 494.1 kB / 1.001 GB, free: 1.59 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006693/0.8192, allocations: 372.8 kB / 1.001 GB, free: 1.219 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.8193, allocations: 0 / 1.001 GB, free: 1.219 MB / 0.7481 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001588/0.8209, allocations: 0.912 MB / 1.002 GB, free: 300 kB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003789/0.8212, allocations: 1.177 MB / 1.003 GB, free: 15.02 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.8213, allocations: 0 / 1.003 GB, free: 15.02 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.8213, allocations: 8 kB / 1.003 GB, free: 15.02 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006181/0.8219, allocations: 175.8 kB / 1.003 GB, free: 14.84 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.8219, allocations: 7.938 kB / 1.003 GB, free: 14.84 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006469/0.8226, allocations: 171 kB / 1.003 GB, free: 14.67 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.564e-05/0.8226, allocations: 31.98 kB / 1.003 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 7.914e-06/0.8227, allocations: 8 kB / 1.003 GB, free: 14.63 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001071/0.8237, allocations: 0.669 MB / 1.004 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.8238, allocations: 4 kB / 1.004 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.522e-06/0.8238, allocations: 4 kB / 1.004 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004771/0.8242, allocations: 136.1 kB / 1.004 GB, free: 13.81 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.8243, allocations: 15.98 kB / 1.004 GB, free: 13.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005192/0.8248, allocations: 135.2 kB / 1.004 GB, free: 13.66 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.382e-05/0.8248, allocations: 28 kB / 1.004 GB, free: 13.64 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.000364/0.8252, allocations: 316.8 kB / 1.005 GB, free: 13.32 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.534e-05/0.8253, allocations: 75.06 kB / 1.005 GB, free: 13.24 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.8266, allocations: 0.6944 MB / 1.005 GB, free: 12.54 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.8266, allocations: 4 kB / 1.005 GB, free: 12.53 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.8266, allocations: 8 kB / 1.005 GB, free: 12.52 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.455e-06/0.8266, allocations: 3.984 kB / 1.005 GB, free: 12.52 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002707/0.8293, allocations: 1.706 MB / 1.007 GB, free: 10.73 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/0.8294, allocations: 4 kB / 1.007 GB, free: 10.72 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005499/0.8299, allocations: 147.8 kB / 1.007 GB, free: 10.58 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-06/0.8299, allocations: 4 kB / 1.007 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.102e-05/0.83, allocations: 16 kB / 1.007 GB, free: 10.56 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.214e-06/0.83, allocations: 12.06 kB / 1.007 GB, free: 10.55 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.83, allocations: 4 kB / 1.007 GB, free: 10.54 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001991/0.832, allocations: 1.248 MB / 1.009 GB, free: 9.199 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001726/0.8322, allocations: 168.1 kB / 1.009 GB, free: 9.016 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.446e-05/0.8323, allocations: 12 kB / 1.009 GB, free: 9.004 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003928/0.8327, allocations: 63.95 kB / 1.009 GB, free: 8.941 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.751e-05/0.8328, allocations: 48.45 kB / 1.009 GB, free: 8.895 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.18e-05/0.8328, allocations: 20 kB / 1.009 GB, free: 8.875 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0005968/0.8334, allocations: 479.1 kB / 1.009 GB, free: 8.414 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8334, allocations: 3.938 kB / 1.009 GB, free: 8.41 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001081/0.8345, allocations: 322.7 kB / 1.01 GB, free: 8.094 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.002508/0.837, allocations: 2.437 MB / 1.012 GB, free: 5.566 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002177/0.8392, allocations: 1.183 MB / 1.013 GB, free: 4.359 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.8392, allocations: 0 / 1.013 GB, free: 4.359 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0005695/0.8398, allocations: 323.8 kB / 1.013 GB, free: 4.047 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000842/0.8407, allocations: 159.9 kB / 1.014 GB, free: 3.887 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003927/0.8446, allocations: 4.416 MB / 1.018 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005156/0.8451, allocations: 0.9901 MB / 1.019 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0003868/0.8455, allocations: 101.9 kB / 1.019 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004389/0.846, allocations: 351.3 kB / 1.019 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of SimCode: time 6.92e-07/0.846, allocations: 0 / 1.019 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6259/1.472, allocations: 15.51 MB / 1.034 GB, free: 14.6 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003578/1.472, allocations: 192.1 kB / 1.035 GB, free: 14.35 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.9/4.372, allocations: 0 / 1.035 GB, free: 14.35 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