Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 99.34 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 181.5 kB / 16.92 MB, free: 6.918 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.407/1.407, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.761/2.761, allocations: 462.7 MB / 0.7371 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003823/0.0003824, allocations: 16.95 kB / 0.9034 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.307, allocations: 159.6 MB / 1.059 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.002239/0.3093, allocations: 1.488 MB / 1.061 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002052/0.3113, allocations: 1.236 MB / 1.062 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003929/0.3118, allocations: 8 kB / 1.062 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002434/0.312, allocations: 51.45 kB / 1.062 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002113/0.3123, allocations: 31.78 kB / 1.062 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004302/0.3127, allocations: 147.8 kB / 1.062 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005138/0.3132, allocations: 449 kB / 1.063 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00046/0.3137, allocations: 259.5 kB / 1.063 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.3139, allocations: 111.2 kB / 1.063 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.3141, allocations: 143 kB / 1.063 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.805e-05/0.3141, allocations: 12 kB / 1.063 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.129e-05/0.3142, allocations: 8 kB / 1.063 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.182e-05/0.3143, allocations: 67.58 kB / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.3144, allocations: 176.5 kB / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004108/0.3148, allocations: 447.1 kB / 1.064 GB, free: 352 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.3149, allocations: 0 / 1.064 GB, free: 352 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3149, allocations: 0 / 1.064 GB, free: 352 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.515e-05/0.3149, allocations: 0 / 1.064 GB, free: 352 kB / 0.8106 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.001282/0.3162, allocations: 0.6707 MB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.3162, allocations: 15.97 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.3164, allocations: 52.38 kB / 1.065 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004973/0.3169, allocations: 344.2 kB / 1.065 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.868e-05/0.3169, allocations: 29.38 kB / 1.065 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.27e-05/0.317, allocations: 52.3 kB / 1.065 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008064/0.3178, allocations: 411.6 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.3179, allocations: 8.062 kB / 1.065 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.215e-05/0.3179, allocations: 19.94 kB / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.3179, allocations: 8 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00063/0.3186, allocations: 303.8 kB / 1.066 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002313/0.3209, allocations: 1.386 MB / 1.067 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007757/0.3217, allocations: 270.8 kB / 1.067 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000257/0.322, allocations: 124.8 kB / 1.067 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/0.322, allocations: 11.92 kB / 1.067 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.322, allocations: 34.56 kB / 1.067 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 2.024e-06/0.322, allocations: 4 kB / 1.067 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0007316/0.3228, allocations: 323.9 kB / 1.068 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.878e-05/0.3229, allocations: 106.8 kB / 1.068 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004701/0.3233, allocations: 405.5 kB / 1.068 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.3234, allocations: 33.7 kB / 1.068 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/0.3236, allocations: 247.8 kB / 1.069 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.515e-05/0.3236, allocations: 71 kB / 1.069 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.708e-05/0.3237, allocations: 33.7 kB / 1.069 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.3238, allocations: 350.8 kB / 1.069 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002747/0.3241, allocations: 116.6 kB / 1.069 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003518/0.3245, allocations: 220.3 kB / 1.069 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005303/0.325, allocations: 292.9 kB / 1.07 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.325, allocations: 0 / 1.07 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007611/0.3258, allocations: 384.9 kB / 1.07 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.3259, allocations: 151.1 kB / 1.07 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.3259, allocations: 4 kB / 1.07 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.326, allocations: 4 kB / 1.07 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003089/0.3263, allocations: 79.89 kB / 1.07 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.3263, allocations: 7.938 kB / 1.07 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002835/0.3266, allocations: 63.5 kB / 1.07 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.3266, allocations: 16 kB / 1.07 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.977e-06/0.3266, allocations: 4 kB / 1.07 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004484/0.3271, allocations: 259.7 kB / 1.07 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3271, allocations: 4 kB / 1.07 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.753e-06/0.3271, allocations: 4 kB / 1.07 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/0.3274, allocations: 63.91 kB / 1.071 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.3274, allocations: 224 / 1.071 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.3276, allocations: 55.52 kB / 1.071 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.3276, allocations: 15.94 kB / 1.071 GB, free: 9.023 MB / 0.8262 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.0002373/0.3279, allocations: 237 kB / 1.071 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.358e-05/0.328, allocations: 31.62 kB / 1.071 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005441/0.3285, allocations: 258.7 kB / 1.071 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.3285, allocations: 3.938 kB / 1.071 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.3285, allocations: 11.98 kB / 1.071 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3286, allocations: 0 / 1.071 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/0.3299, allocations: 0.8066 MB / 1.072 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.3299, allocations: 7.938 kB / 1.072 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002057/0.3301, allocations: 43.97 kB / 1.072 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.3302, allocations: 0 / 1.072 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.3302, allocations: 8 kB / 1.072 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.3302, allocations: 8.156 kB / 1.072 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.3302, allocations: 3.938 kB / 1.072 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008486/0.3311, allocations: 488.2 kB / 1.072 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.3312, allocations: 112.7 kB / 1.073 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.532e-05/0.3312, allocations: 11.94 kB / 1.073 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.3314, allocations: 23.98 kB / 1.073 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.3315, allocations: 19.91 kB / 1.073 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.3315, allocations: 12 kB / 1.073 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003477/0.3319, allocations: 287.2 kB / 1.073 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3319, allocations: 0 / 1.073 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005372/0.3324, allocations: 135.4 kB / 1.073 GB, free: 6.414 MB / 0.8262 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.0002108/0.3326, allocations: 103.2 kB / 1.073 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008354/0.3335, allocations: 401.9 kB / 1.074 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.3335, allocations: 256 / 1.074 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002074/0.3337, allocations: 111.8 kB / 1.074 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006509/0.3344, allocations: 68.22 kB / 1.074 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.3359, allocations: 0.8555 MB / 1.075 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.3364, allocations: 0.8038 MB / 1.075 GB, free: 4 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.3365, allocations: 39.36 kB / 1.075 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of SimCode: time 4.71e-07/0.3365, allocations: 0 / 1.075 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of Templates: time 0.007664/0.3442, allocations: 4.264 MB / 1.08 GB, free: 15.71 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches