Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.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.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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.Reals.Validation.PIDInitialState,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState",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.0009022/0.0009023, allocations: 98.27 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.00551/0.00551, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.332/1.332, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.456/2.456, allocations: 437.8 MB / 0.7121 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003894/0.0003894, allocations: 12 kB / 0.873 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7081/0.7085, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.002074/0.7106, allocations: 1.498 MB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001825/0.7125, allocations: 1.236 MB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003563/0.7128, allocations: 8 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002461/0.7131, allocations: 51.5 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002234/0.7133, allocations: 35.73 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004219/0.7138, allocations: 143.8 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005001/0.7143, allocations: 445 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004332/0.7147, allocations: 263.4 kB / 1.027 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.7149, allocations: 107.3 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.7151, allocations: 151 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.516e-05/0.7152, allocations: 12 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.855e-05/0.7152, allocations: 12 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.473e-05/0.7153, allocations: 59.59 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.7154, allocations: 172.6 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004336/0.7159, allocations: 0.5197 MB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.7159, allocations: 0 / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7159, allocations: 0 / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.381e-05/0.7159, allocations: 0 / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.00113/0.717, allocations: 0.6707 MB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.7171, allocations: 15.95 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001077/0.7172, allocations: 78.72 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.477e-05/0.7173, allocations: 52.28 kB / 1.029 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004377/0.7177, allocations: 344.3 kB / 1.029 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/0.7178, allocations: 33.38 kB / 1.029 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.989e-05/0.7178, allocations: 40.38 kB / 1.029 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007121/0.7186, allocations: 423.5 kB / 1.029 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.7186, allocations: 3.938 kB / 1.029 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.262e-05/0.7186, allocations: 20 kB / 1.029 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.7186, allocations: 12 kB / 1.029 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005878/0.7192, allocations: 307.8 kB / 1.03 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002007/0.7213, allocations: 1.382 MB / 1.031 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006984/0.722, allocations: 270.9 kB / 1.031 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002276/0.7222, allocations: 128.8 kB / 1.031 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.7222, allocations: 4 kB / 1.031 GB, free: 7.176 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.7223, allocations: 38.5 kB / 1.031 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.713e-06/0.7223, allocations: 3.938 kB / 1.031 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0006894/0.723, allocations: 322.7 kB / 1.032 GB, free: 6.805 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.974e-05/0.7231, allocations: 110.8 kB / 1.032 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004395/0.7235, allocations: 401.7 kB / 1.032 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.7235, allocations: 29.7 kB / 1.032 GB, free: 6.238 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.7237, allocations: 255.6 kB / 1.032 GB, free: 5.98 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.342e-05/0.7238, allocations: 71.02 kB / 1.033 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.796e-05/0.7238, allocations: 33.69 kB / 1.033 GB, free: 5.871 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.7239, allocations: 346.8 kB / 1.033 GB, free: 5.523 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002983/0.7243, allocations: 116.6 kB / 1.033 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003229/0.7246, allocations: 216.3 kB / 1.033 GB, free: 5.156 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005069/0.7251, allocations: 300.8 kB / 1.034 GB, free: 4.836 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.7251, allocations: 4 kB / 1.034 GB, free: 4.832 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006969/0.7258, allocations: 378.9 kB / 1.034 GB, free: 4.457 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.777e-05/0.7259, allocations: 151.9 kB / 1.034 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.7259, allocations: 0 / 1.034 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.726, allocations: 4 kB / 1.034 GB, free: 4.273 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002721/0.7262, allocations: 83.89 kB / 1.034 GB, free: 4.191 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.7263, allocations: 4 kB / 1.034 GB, free: 4.188 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002507/0.7265, allocations: 63.45 kB / 1.034 GB, free: 4.125 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.7265, allocations: 15.98 kB / 1.034 GB, free: 4.109 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.859e-06/0.7266, allocations: 6.031 kB / 1.034 GB, free: 4.105 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004163/0.727, allocations: 261.2 kB / 1.034 GB, free: 3.852 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.727, allocations: 4 kB / 1.034 GB, free: 3.848 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.63e-06/0.727, allocations: 4 kB / 1.034 GB, free: 3.844 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.7272, allocations: 59.92 kB / 1.035 GB, free: 3.785 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.7272, allocations: 7.938 kB / 1.035 GB, free: 3.777 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.7274, allocations: 39.89 kB / 1.035 GB, free: 3.738 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.7275, allocations: 16 kB / 1.035 GB, free: 3.723 MB / 0.7794 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.con1.y,limPID.con1.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.0002142/0.7277, allocations: 233.6 kB / 1.035 GB, free: 3.484 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.223e-05/0.7277, allocations: 39.53 kB / 1.035 GB, free: 3.445 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004956/0.7282, allocations: 257 kB / 1.035 GB, free: 3.188 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.7283, allocations: 7.938 kB / 1.035 GB, free: 3.18 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.7283, allocations: 0 / 1.035 GB, free: 3.18 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.7283, allocations: 3.984 kB / 1.035 GB, free: 3.176 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.7295, allocations: 0.8128 MB / 1.036 GB, free: 2.293 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.7296, allocations: 0 / 1.036 GB, free: 2.293 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001918/0.7298, allocations: 51.84 kB / 1.036 GB, free: 2.242 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.7298, allocations: 4.047 kB / 1.036 GB, free: 2.238 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.7298, allocations: 11.97 kB / 1.036 GB, free: 2.227 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.7298, allocations: 8 kB / 1.036 GB, free: 2.219 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.7298, allocations: 0 / 1.036 GB, free: 2.219 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007441/0.7306, allocations: 493.1 kB / 1.036 GB, free: 1.707 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.485e-05/0.7307, allocations: 112.8 kB / 1.037 GB, free: 1.578 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.026e-05/0.7307, allocations: 12 kB / 1.037 GB, free: 1.566 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.7309, allocations: 23.98 kB / 1.037 GB, free: 1.543 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.751e-05/0.731, allocations: 11.98 kB / 1.037 GB, free: 1.531 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.731, allocations: 7.984 kB / 1.037 GB, free: 1.523 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003006/0.7313, allocations: 295 kB / 1.037 GB, free: 1.234 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7313, allocations: 0 / 1.037 GB, free: 1.234 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005029/0.7318, allocations: 135.4 kB / 1.037 GB, free: 1.102 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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.001055/0.7329, allocations: 1.021 MB / 1.038 GB, free: 40 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007812/0.7337, allocations: 401 kB / 1.038 GB, free: 15.65 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.7337, allocations: 4 kB / 1.038 GB, free: 15.64 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.7339, allocations: 105 kB / 1.038 GB, free: 15.54 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006291/0.7345, allocations: 71.52 kB / 1.039 GB, free: 15.48 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004755/0.7393, allocations: 3.66 MB / 1.042 GB, free: 11.66 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004045/0.7397, allocations: 0.7999 MB / 1.043 GB, free: 10.84 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001655/0.7399, allocations: 39.25 kB / 1.043 GB, free: 10.79 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/0.7401, allocations: 131.4 kB / 1.043 GB, free: 10.66 MB / 0.795 GB Notification: Performance of SimCode: time 3.51e-07/0.7401, allocations: 4 kB / 1.043 GB, free: 10.66 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01807/0.7582, allocations: 6.357 MB / 1.049 GB, free: 4.469 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001868/0.7584, allocations: 211.7 kB / 1.049 GB, free: 4.215 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.883/2.642, allocations: 0 / 1.049 GB, free: 4.215 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches