Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.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.LimPIDInitialState,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState",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.001113/0.001113, allocations: 91.69 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.001316/0.001316, 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.391/1.391, allocations: 223.3 MB / 240 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.533/2.533, allocations: 409.4 MB / 0.684 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004703/0.0004704, allocations: 8 kB / 0.8378 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7224/0.7229, allocations: 146.8 MB / 0.9812 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState): time 0.002746/0.7257, allocations: 2.29 MB / 0.9834 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00147/0.7272, allocations: 0.5733 MB / 0.984 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004795/0.7277, allocations: 11.94 kB / 0.984 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003071/0.728, allocations: 63.38 kB / 0.984 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003803/0.7284, allocations: 43.7 kB / 0.9841 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000367/0.7288, allocations: 107.8 kB / 0.9842 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000535/0.7294, allocations: 449.1 kB / 0.9846 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000404/0.7298, allocations: 197.3 kB / 0.9848 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.7299, allocations: 107.3 kB / 0.9849 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.7301, allocations: 131.1 kB / 0.985 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.21e-05/0.7302, allocations: 12 kB / 0.985 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.037e-05/0.7302, allocations: 12 kB / 0.985 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.398e-05/0.7303, allocations: 67.58 kB / 0.9851 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.509e-05/0.7303, allocations: 85.45 kB / 0.9852 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004005/0.7307, allocations: 496.9 kB / 0.9857 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.7308, allocations: 0 / 0.9857 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7308, allocations: 0 / 0.9857 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.12e-05/0.7308, allocations: 0 / 0.9857 GB, free: 1.648 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001127/0.7319, allocations: 0.6976 MB / 0.9863 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.732, allocations: 8.031 kB / 0.9863 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001139/0.7321, allocations: 82.52 kB / 0.9864 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.7322, allocations: 55.34 kB / 0.9865 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004657/0.7327, allocations: 351.7 kB / 0.9868 GB, free: 376 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.7327, allocations: 29 kB / 0.9868 GB, free: 348 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.919e-05/0.7328, allocations: 40 kB / 0.9869 GB, free: 308 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006891/0.7335, allocations: 423 kB / 0.9873 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.7335, allocations: 0 / 0.9873 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.213e-05/0.7335, allocations: 16 kB / 0.9873 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.7336, allocations: 8 kB / 0.9873 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005727/0.7341, allocations: 307.8 kB / 0.9876 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002021/0.7362, allocations: 1.401 MB / 0.989 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006513/0.7368, allocations: 294.9 kB / 0.9893 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.7371, allocations: 129.8 kB / 0.9894 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.7371, allocations: 4 kB / 0.9894 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.7371, allocations: 46.44 kB / 0.9894 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=20): time 1.723e-06/0.7371, allocations: 0 / 0.9894 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20): time 0.0006569/0.7378, allocations: 326.5 kB / 0.9897 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.7379, allocations: 102.8 kB / 0.9898 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004375/0.7383, allocations: 417.5 kB / 0.9902 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.7384, allocations: 33.7 kB / 0.9903 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.7385, allocations: 263.7 kB / 0.9905 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.441e-05/0.7386, allocations: 71.02 kB / 0.9906 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.364e-05/0.7386, allocations: 4 kB / 0.9906 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.7387, allocations: 346.8 kB / 0.9909 GB, free: 12 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002199/0.739, allocations: 112.6 kB / 0.991 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002652/0.7392, allocations: 216.3 kB / 0.9912 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002439/0.7395, allocations: 131.7 kB / 0.9914 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.7395, allocations: 0 / 0.9914 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006132/0.7401, allocations: 373.1 kB / 0.9917 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 9.024e-05/0.7402, allocations: 155.2 kB / 0.9919 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.7402, allocations: 4 kB / 0.9919 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.7403, allocations: 4 kB / 0.9919 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002672/0.7405, allocations: 79.83 kB / 0.9919 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/0.7406, allocations: 8 kB / 0.992 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.7408, allocations: 59.52 kB / 0.992 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.7408, allocations: 15.98 kB / 0.992 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.923e-06/0.7408, allocations: 4 kB / 0.992 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003454/0.7412, allocations: 251.8 kB / 0.9923 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.7412, allocations: 0 / 0.9923 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.003e-06/0.7412, allocations: 4 kB / 0.9923 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.7414, allocations: 59.91 kB / 0.9923 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.7414, allocations: 7.938 kB / 0.9923 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.7416, allocations: 47.67 kB / 0.9924 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.7416, allocations: 8 kB / 0.9924 GB, free: 10.42 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.noTri.y,limPID.noTri.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.0001912/0.7418, allocations: 241.1 kB / 0.9926 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.187e-05/0.7419, allocations: 35.53 kB / 0.9927 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.868e-05/0.742, allocations: 43.62 kB / 0.9927 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.742, allocations: 4 kB / 0.9927 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.742, allocations: 0 / 0.9927 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.742, allocations: 0 / 0.9927 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.7431, allocations: 0.7659 MB / 0.9934 GB, free: 9.258 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.7431, allocations: 0 / 0.9934 GB, free: 9.258 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001954/0.7433, allocations: 48.06 kB / 0.9935 GB, free: 9.211 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.7434, allocations: 4 kB / 0.9935 GB, free: 9.207 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.7434, allocations: 4 kB / 0.9935 GB, free: 9.203 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.7434, allocations: 7.953 kB / 0.9935 GB, free: 9.195 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.7434, allocations: 3.984 kB / 0.9935 GB, free: 9.191 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007076/0.7441, allocations: 484.4 kB / 0.994 GB, free: 8.695 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.481e-05/0.7442, allocations: 120.6 kB / 0.9941 GB, free: 8.559 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.461e-05/0.7443, allocations: 7.984 kB / 0.9941 GB, free: 8.551 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.7444, allocations: 23.98 kB / 0.9941 GB, free: 8.527 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.515e-05/0.7445, allocations: 16.08 kB / 0.9941 GB, free: 8.512 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.7445, allocations: 12 kB / 0.9941 GB, free: 8.5 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003164/0.7448, allocations: 287.2 kB / 0.9944 GB, free: 8.223 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.7448, allocations: 0 / 0.9944 GB, free: 8.223 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004816/0.7453, allocations: 135.5 kB / 0.9945 GB, free: 8.09 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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.00096/0.7463, allocations: 1.017 MB / 0.9955 GB, free: 7.039 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007818/0.7471, allocations: 390.6 kB / 0.9959 GB, free: 6.66 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.7471, allocations: 0.875 kB / 0.9959 GB, free: 6.66 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001804/0.7473, allocations: 107.8 kB / 0.996 GB, free: 6.555 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005424/0.7478, allocations: 85.62 kB / 0.9961 GB, free: 6.473 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003696/0.7515, allocations: 2.236 MB / 0.9983 GB, free: 4.152 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.7519, allocations: 0.8077 MB / 0.9991 GB, free: 3.32 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001823/0.7521, allocations: 43.27 kB / 0.9991 GB, free: 3.277 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002144/0.7523, allocations: 147.4 kB / 0.9993 GB, free: 3.133 MB / 0.7481 GB Notification: Performance of SimCode: time 5.41e-07/0.7523, allocations: 3.938 kB / 0.9993 GB, free: 3.129 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02184/0.7742, allocations: 7.032 MB / 1.006 GB, free: 12.32 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003089/0.7746, allocations: 226.3 kB / 1.006 GB, free: 12.08 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.938/2.713, allocations: 1.25 kB / 1.006 GB, free: 12.08 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.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.LimPIDInitialState_res.mat does not exist to compare? outputFormat=mat