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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0008353/0.0008353, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005001/0.005001, allocations: 170.1 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.209/1.209, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.307/2.307, allocations: 443.3 MB / 0.7176 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003096/0.0003097, allocations: 15.81 kB / 0.8797 GB, free: 41.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2136, allocations: 155.2 MB / 1.031 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState): time 0.002358/0.216, allocations: 2.414 MB / 1.034 GB, free: 1.734 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008369/0.2169, allocations: 0.5887 MB / 1.034 GB, free: 1.145 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.217, allocations: 8 kB / 1.034 GB, free: 1.137 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000163/0.2172, allocations: 71.38 kB / 1.034 GB, free: 1.066 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000202/0.2174, allocations: 39.66 kB / 1.034 GB, free: 1.027 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.2176, allocations: 155.8 kB / 1.034 GB, free: 0.875 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003583/0.218, allocations: 480.9 kB / 1.035 GB, free: 412 kB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003233/0.2183, allocations: 268.4 kB / 1.035 GB, free: 140 kB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.146e-05/0.2184, allocations: 119.2 kB / 1.035 GB, free: 20 kB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.2186, allocations: 135.1 kB / 1.035 GB, free: 15.88 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.154e-05/0.2186, allocations: 15.94 kB / 1.035 GB, free: 15.87 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 2.409e-05/0.2186, allocations: 12 kB / 1.035 GB, free: 15.86 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.592e-05/0.2187, allocations: 55.66 kB / 1.036 GB, free: 15.8 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.2188, allocations: 196.4 kB / 1.036 GB, free: 15.6 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003595/0.2192, allocations: 0.5562 MB / 1.036 GB, free: 15.05 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.2192, allocations: 0 / 1.036 GB, free: 15.05 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2192, allocations: 4 kB / 1.036 GB, free: 15.04 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.2192, allocations: 4 kB / 1.036 GB, free: 15.04 MB / 0.795 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.0008809/0.2201, allocations: 0.6978 MB / 1.037 GB, free: 14.29 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.2201, allocations: 8.031 kB / 1.037 GB, free: 14.28 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.03e-05/0.2202, allocations: 86.64 kB / 1.037 GB, free: 14.19 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7e-05/0.2203, allocations: 52.28 kB / 1.037 GB, free: 14.14 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/0.2206, allocations: 364.8 kB / 1.037 GB, free: 13.74 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.2207, allocations: 37.36 kB / 1.037 GB, free: 13.7 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.88e-05/0.2207, allocations: 36.38 kB / 1.037 GB, free: 13.67 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005896/0.2213, allocations: 419.5 kB / 1.038 GB, free: 13.24 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.2213, allocations: 7.938 kB / 1.038 GB, free: 13.23 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.979e-05/0.2214, allocations: 19.98 kB / 1.038 GB, free: 13.21 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.2214, allocations: 8 kB / 1.038 GB, free: 13.21 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005167/0.2219, allocations: 303.9 kB / 1.038 GB, free: 12.91 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/0.2235, allocations: 1.405 MB / 1.04 GB, free: 11.44 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006174/0.2241, allocations: 294.9 kB / 1.04 GB, free: 11.14 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/0.2244, allocations: 126.5 kB / 1.04 GB, free: 11.02 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.2244, allocations: 4 kB / 1.04 GB, free: 11.02 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.2244, allocations: 34.55 kB / 1.04 GB, free: 10.97 MB / 0.795 GB Notification: Performance of pre-optimization done (n=20): time 1.283e-06/0.2244, allocations: 7.938 kB / 1.04 GB, free: 10.96 MB / 0.795 GB Notification: Performance of matching and sorting (n=20): time 0.0006096/0.225, allocations: 326.5 kB / 1.04 GB, free: 10.64 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.2251, allocations: 110.8 kB / 1.04 GB, free: 10.51 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003675/0.2255, allocations: 417.6 kB / 1.041 GB, free: 10.09 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.2255, allocations: 29.7 kB / 1.041 GB, free: 10.06 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.2257, allocations: 263.6 kB / 1.041 GB, free: 9.797 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.304e-05/0.2257, allocations: 71 kB / 1.041 GB, free: 9.727 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.2257, allocations: 41.69 kB / 1.041 GB, free: 9.68 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.618e-05/0.2259, allocations: 350.8 kB / 1.042 GB, free: 9.328 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.2261, allocations: 108.6 kB / 1.042 GB, free: 9.219 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002583/0.2263, allocations: 220.3 kB / 1.042 GB, free: 8.965 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004277/0.2268, allocations: 287.5 kB / 1.042 GB, free: 8.66 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.2268, allocations: 4 kB / 1.042 GB, free: 8.656 MB / 0.795 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005738/0.2274, allocations: 374.8 kB / 1.043 GB, free: 8.285 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.379e-05/0.2274, allocations: 152 kB / 1.043 GB, free: 8.105 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.2274, allocations: 4 kB / 1.043 GB, free: 8.102 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.2275, allocations: 8 kB / 1.043 GB, free: 8.094 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000246/0.2277, allocations: 71.84 kB / 1.043 GB, free: 8.023 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.2277, allocations: 7.984 kB / 1.043 GB, free: 8.016 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/0.2279, allocations: 63.52 kB / 1.043 GB, free: 7.953 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.228, allocations: 12 kB / 1.043 GB, free: 7.941 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.828e-06/0.228, allocations: 4 kB / 1.043 GB, free: 7.938 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003148/0.2283, allocations: 251.7 kB / 1.043 GB, free: 7.691 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-06/0.2283, allocations: 0 / 1.043 GB, free: 7.691 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.108e-06/0.2283, allocations: 4 kB / 1.043 GB, free: 7.688 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.2285, allocations: 63.91 kB / 1.043 GB, free: 7.625 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.2285, allocations: 11.88 kB / 1.043 GB, free: 7.613 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.2287, allocations: 43.89 kB / 1.043 GB, free: 7.57 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.2287, allocations: 16 kB / 1.043 GB, free: 7.555 MB / 0.795 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001465/0.2289, allocations: 233.1 kB / 1.043 GB, free: 7.316 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.117e-05/0.2289, allocations: 35.53 kB / 1.043 GB, free: 7.281 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.536e-05/0.229, allocations: 39.64 kB / 1.043 GB, free: 7.242 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.229, allocations: 3.938 kB / 1.043 GB, free: 7.238 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.229, allocations: 4 kB / 1.043 GB, free: 7.234 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.229, allocations: 7.984 kB / 1.043 GB, free: 7.227 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009309/0.2299, allocations: 0.76 MB / 1.044 GB, free: 6.402 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.23, allocations: 0 / 1.044 GB, free: 6.402 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.2301, allocations: 47.91 kB / 1.044 GB, free: 6.355 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.2302, allocations: 4 kB / 1.044 GB, free: 6.352 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.2302, allocations: 4 kB / 1.044 GB, free: 6.348 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.2302, allocations: 4 kB / 1.044 GB, free: 6.344 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2302, allocations: 4.094 kB / 1.044 GB, free: 6.34 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006316/0.2308, allocations: 494.7 kB / 1.045 GB, free: 5.832 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.78e-05/0.2309, allocations: 120.6 kB / 1.045 GB, free: 5.695 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.375e-05/0.2309, allocations: 4 kB / 1.045 GB, free: 5.691 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.2311, allocations: 31.97 kB / 1.045 GB, free: 5.66 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.31e-05/0.2312, allocations: 11.98 kB / 1.045 GB, free: 5.648 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.2312, allocations: 4 kB / 1.045 GB, free: 5.645 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000271/0.2314, allocations: 295.2 kB / 1.045 GB, free: 5.355 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2315, allocations: 0 / 1.045 GB, free: 5.355 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004134/0.2319, allocations: 131.5 kB / 1.045 GB, free: 5.227 MB / 0.795 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000837/0.2327, allocations: 1.029 MB / 1.046 GB, free: 4.16 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0006042/0.2333, allocations: 396.4 kB / 1.047 GB, free: 3.777 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2333, allocations: 0 / 1.047 GB, free: 3.777 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001781/0.2335, allocations: 105.7 kB / 1.047 GB, free: 3.676 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005008/0.234, allocations: 83.52 kB / 1.047 GB, free: 3.598 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004008/0.238, allocations: 3.725 MB / 1.051 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.2383, allocations: 0.8076 MB / 1.051 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001327/0.2385, allocations: 47.48 kB / 1.051 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.2386, allocations: 147.4 kB / 1.052 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.2387, allocations: 0 / 1.052 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9811/1.22, allocations: 6.746 MB / 1.058 GB, free: 8.164 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002242/1.22, allocations: 243.3 kB / 1.058 GB, free: 7.906 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.612/2.832, allocations: 64 / 1.058 GB, free: 7.906 MB / 0.8106 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/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) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches