Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",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.0008974/0.0008974, allocations: 99.08 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.0009601/0.0009603, 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.345/1.345, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.458/2.458, allocations: 409.2 MB / 0.6838 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003473, allocations: 12 kB / 0.8375 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6937/0.6941, allocations: 146.8 MB / 0.9809 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.004698/0.6988, allocations: 3.627 MB / 0.9844 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002269/0.7012, allocations: 1.034 MB / 0.9854 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005212/0.7017, allocations: 19.94 kB / 0.9855 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001833/0.7019, allocations: 83.02 kB / 0.9855 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005927/0.7025, allocations: 162.3 kB / 0.9857 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005322/0.703, allocations: 263.7 kB / 0.9859 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0009336/0.704, allocations: 0.652 MB / 0.9866 GB, free: 440 kB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006944/0.7047, allocations: 477 kB / 0.987 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002563/0.7049, allocations: 242.5 kB / 0.9873 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003036/0.7053, allocations: 302 kB / 0.9876 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 6.274e-05/0.7053, allocations: 28 kB / 0.9876 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 5.436e-05/0.7054, allocations: 24 kB / 0.9876 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.7055, allocations: 135.3 kB / 0.9877 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.7056, allocations: 169.1 kB / 0.9879 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0008563/0.7065, allocations: 1.066 MB / 0.9889 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.7065, allocations: 0 / 0.9889 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.184e-06/0.7065, allocations: 7.938 kB / 0.9889 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.59e-05/0.7066, allocations: 0 / 0.9889 GB, free: 13.98 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: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.002008/0.7086, allocations: 1.2 MB / 0.9901 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.7086, allocations: 16.02 kB / 0.9901 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001629/0.7088, allocations: 139.9 kB / 0.9903 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001755/0.709, allocations: 126.6 kB / 0.9904 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007477/0.7097, allocations: 0.5509 MB / 0.9909 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.851e-05/0.7098, allocations: 78 kB / 0.991 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.7099, allocations: 96 kB / 0.9911 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.7114, allocations: 0.9134 MB / 0.992 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.7115, allocations: 0 / 0.992 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.012e-05/0.7116, allocations: 44 kB / 0.992 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.009e-05/0.7116, allocations: 20 kB / 0.992 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.7129, allocations: 0.6715 MB / 0.9927 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004378/0.7173, allocations: 2.888 MB / 0.9955 GB, free: 7.039 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.7186, allocations: 0.7262 MB / 0.9962 GB, free: 6.309 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.257e-05/0.7187, allocations: 8.656 kB / 0.9962 GB, free: 6.301 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007311/0.7194, allocations: 376.3 kB / 0.9966 GB, free: 5.922 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=74): time 3.857e-06/0.7194, allocations: 0 / 0.9966 GB, free: 5.922 MB / 0.7481 GB Notification: Performance of matching and sorting (n=74): time 0.001762/0.7212, allocations: 0.8718 MB / 0.9974 GB, free: 5.043 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.7213, allocations: 162.9 kB / 0.9976 GB, free: 4.848 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007768/0.7221, allocations: 0.5942 MB / 0.9982 GB, free: 4.246 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.602e-05/0.7222, allocations: 45.7 kB / 0.9982 GB, free: 4.195 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003238/0.7225, allocations: 439.9 kB / 0.9986 GB, free: 3.758 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002055/0.7227, allocations: 252.2 kB / 0.9989 GB, free: 3.508 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.7228, allocations: 16 kB / 0.9989 GB, free: 3.492 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.7229, allocations: 382.8 kB / 0.9993 GB, free: 3.109 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005347/0.7235, allocations: 257.9 kB / 0.9995 GB, free: 2.859 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006006/0.7241, allocations: 386 kB / 0.9999 GB, free: 2.441 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005597/0.7246, allocations: 294.9 kB / 1 GB, free: 2.156 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.7247, allocations: 3.938 kB / 1 GB, free: 2.152 MB / 0.7481 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001324/0.726, allocations: 0.7545 MB / 1.001 GB, free: 1.391 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002119/0.7262, allocations: 457 kB / 1.001 GB, free: 0.9102 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.7262, allocations: 0 / 1.001 GB, free: 0.9102 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.7262, allocations: 8 kB / 1.001 GB, free: 0.9023 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006566/0.7269, allocations: 171.7 kB / 1.002 GB, free: 0.7344 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.7269, allocations: 4 kB / 1.002 GB, free: 0.7305 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004579/0.7274, allocations: 115.2 kB / 1.002 GB, free: 0.6172 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.305e-05/0.7274, allocations: 23.94 kB / 1.002 GB, free: 0.5938 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 9.829e-06/0.7275, allocations: 4 kB / 1.002 GB, free: 0.5898 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008114/0.7283, allocations: 0.5466 MB / 1.002 GB, free: 48 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.7283, allocations: 0 / 1.002 GB, free: 48 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.142e-06/0.7283, allocations: 7.938 kB / 1.002 GB, free: 40 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004913/0.7288, allocations: 139.8 kB / 1.002 GB, free: 15.9 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.7288, allocations: 8.062 kB / 1.002 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003307/0.7292, allocations: 91.42 kB / 1.002 GB, free: 15.8 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.144e-05/0.7292, allocations: 20 kB / 1.002 GB, free: 15.79 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (noTri.y,$whenCondition1,limPIDInp.trigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * 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.0004322/0.7296, allocations: 304.9 kB / 1.003 GB, free: 15.48 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.7297, allocations: 75.06 kB / 1.003 GB, free: 15.4 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001733/0.7299, allocations: 83.73 kB / 1.003 GB, free: 15.31 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.7299, allocations: 11.98 kB / 1.003 GB, free: 15.3 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.158e-06/0.73, allocations: 0 / 1.003 GB, free: 15.3 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.73, allocations: 3.953 kB / 1.003 GB, free: 15.29 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002478/0.7325, allocations: 1.648 MB / 1.005 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.7325, allocations: 0 / 1.005 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005977/0.7331, allocations: 143.8 kB / 1.005 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.167e-06/0.7331, allocations: 4 kB / 1.005 GB, free: 13.44 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.292e-05/0.7331, allocations: 20 kB / 1.005 GB, free: 13.42 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.7332, allocations: 3.953 kB / 1.005 GB, free: 13.42 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.7332, allocations: 0 / 1.005 GB, free: 13.42 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00178/0.735, allocations: 1.096 MB / 1.006 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/0.7351, allocations: 164 kB / 1.006 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.364e-05/0.7352, allocations: 12 kB / 1.006 GB, free: 12.11 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003424/0.7355, allocations: 59.95 kB / 1.006 GB, free: 12.05 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.723e-05/0.7356, allocations: 44.55 kB / 1.006 GB, free: 12.01 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-05/0.7357, allocations: 16 kB / 1.006 GB, free: 12 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0005048/0.7362, allocations: 419.1 kB / 1.006 GB, free: 11.59 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7362, allocations: 0 / 1.006 GB, free: 11.59 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008036/0.737, allocations: 322.3 kB / 1.007 GB, free: 11.28 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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.002159/0.7392, allocations: 1.662 MB / 1.008 GB, free: 9.586 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001718/0.7409, allocations: 0.9387 MB / 1.009 GB, free: 8.652 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.7409, allocations: 0 / 1.009 GB, free: 8.652 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0005515/0.7415, allocations: 332 kB / 1.01 GB, free: 8.328 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007431/0.7422, allocations: 148.9 kB / 1.01 GB, free: 8.184 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007702/0.7499, allocations: 5.3 MB / 1.015 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000612/0.7506, allocations: 1.013 MB / 1.016 GB, free: 1.715 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0004113/0.751, allocations: 93.52 kB / 1.016 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004918/0.7515, allocations: 359.3 kB / 1.016 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of SimCode: time 1.233e-06/0.7515, allocations: 0 / 1.016 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03084/0.7824, allocations: 14.07 MB / 1.03 GB, free: 3.477 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/0.7826, allocations: 208.5 kB / 1.03 GB, free: 3.238 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.061/2.844, allocations: 0 / 1.03 GB, free: 3.238 MB / 0.7794 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset_res.mat does not exist to compare? outputFormat=mat