Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.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.Controls.OBC.CDL.Reals.Validation.PIDScale,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_PIDScale",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_PIDScale",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.0008918/0.0008917, allocations: 98.03 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.005662/0.005662, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.251/1.251, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.494/2.494, allocations: 462.7 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.0003419, allocations: 14.88 kB / 0.9029 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3025, allocations: 159.6 MB / 1.059 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.002288/0.3049, allocations: 1.714 MB / 1.06 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002148/0.307, allocations: 1.587 MB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002015/0.3073, allocations: 12 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002119/0.3075, allocations: 67.38 kB / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001713/0.3077, allocations: 47.64 kB / 1.062 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006297/0.3083, allocations: 286.6 kB / 1.062 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.00056/0.3089, allocations: 0.6178 MB / 1.063 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004444/0.3093, allocations: 305.3 kB / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001805/0.3095, allocations: 175 kB / 1.063 GB, free: 72 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002285/0.3097, allocations: 202.8 kB / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.71e-05/0.3098, allocations: 20 kB / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.736e-05/0.3099, allocations: 35.92 kB / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.988e-05/0.31, allocations: 79.61 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002404/0.3102, allocations: 260 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005929/0.3108, allocations: 0.7318 MB / 1.065 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.3108, allocations: 0 / 1.065 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3108, allocations: 0 / 1.065 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.3108, allocations: 4 kB / 1.065 GB, free: 14.74 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001363/0.3122, allocations: 0.8059 MB / 1.066 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.3123, allocations: 15.97 kB / 1.066 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.794e-05/0.3124, allocations: 86.7 kB / 1.066 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.3125, allocations: 72.17 kB / 1.066 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004977/0.313, allocations: 408.5 kB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.3e-05/0.313, allocations: 41.38 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.747e-05/0.3131, allocations: 56.38 kB / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008344/0.314, allocations: 0.4995 MB / 1.067 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.314, allocations: 7.875 kB / 1.067 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.251e-05/0.3141, allocations: 27.97 kB / 1.067 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.3141, allocations: 12 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006712/0.3147, allocations: 359.8 kB / 1.067 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002274/0.317, allocations: 1.585 MB / 1.069 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009668/0.318, allocations: 0.8816 MB / 1.069 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003803/0.3184, allocations: 243.7 kB / 1.07 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.217e-05/0.3184, allocations: 4 kB / 1.07 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004699/0.3189, allocations: 257.5 kB / 1.07 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=47): time 1.804e-06/0.3189, allocations: 0 / 1.07 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of matching and sorting (n=47): time 0.00106/0.32, allocations: 0.5454 MB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.257e-05/0.3201, allocations: 107.2 kB / 1.071 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004021/0.3205, allocations: 385.7 kB / 1.071 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.35e-05/0.3205, allocations: 37.7 kB / 1.071 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.3207, allocations: 256.9 kB / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.3208, allocations: 161.7 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.745e-05/0.3209, allocations: 45.7 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.3211, allocations: 358.8 kB / 1.072 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003991/0.3215, allocations: 185 kB / 1.072 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004582/0.3219, allocations: 300.1 kB / 1.072 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007348/0.3227, allocations: 451.3 kB / 1.073 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3227, allocations: 0 / 1.073 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00107/0.3238, allocations: 0.587 MB / 1.073 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001066/0.3239, allocations: 184.2 kB / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.83e-06/0.3239, allocations: 0 / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.3239, allocations: 4 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003993/0.3243, allocations: 99.89 kB / 1.074 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.3243, allocations: 4 kB / 1.074 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004224/0.3248, allocations: 109.7 kB / 1.074 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.125e-05/0.3248, allocations: 27.92 kB / 1.074 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.182e-06/0.3248, allocations: 4 kB / 1.074 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007907/0.3256, allocations: 479.9 kB / 1.074 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.946e-06/0.3256, allocations: 0 / 1.074 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.703e-06/0.3257, allocations: 7.938 kB / 1.074 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002991/0.326, allocations: 91.83 kB / 1.074 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.326, allocations: 4 kB / 1.074 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003628/0.3263, allocations: 91.7 kB / 1.074 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/0.3264, allocations: 16 kB / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y,pidNoSca.con1.y,pidSca.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 1 * 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.0002336/0.3266, allocations: 257 kB / 1.075 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.5e-05/0.3267, allocations: 55.47 kB / 1.075 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007823/0.3275, allocations: 449.3 kB / 1.075 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.3275, allocations: 4 kB / 1.075 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3275, allocations: 0 / 1.075 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.3275, allocations: 3.984 kB / 1.075 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001568/0.3291, allocations: 1.151 MB / 1.076 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.3291, allocations: 4 kB / 1.076 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003518/0.3294, allocations: 83.89 kB / 1.076 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.3295, allocations: 4 kB / 1.076 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.981e-05/0.3295, allocations: 15.98 kB / 1.076 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.3295, allocations: 8 kB / 1.076 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.3295, allocations: 7.938 kB / 1.076 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.3306, allocations: 0.7483 MB / 1.077 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.469e-05/0.3307, allocations: 128.6 kB / 1.077 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.852e-05/0.3308, allocations: 12 kB / 1.077 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.331, allocations: 27.98 kB / 1.077 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.545e-05/0.3311, allocations: 39.83 kB / 1.077 GB, free: 1.312 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.3311, allocations: 12 kB / 1.077 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002664/0.3314, allocations: 279.2 kB / 1.078 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3314, allocations: 0 / 1.078 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000533/0.3319, allocations: 195.3 kB / 1.078 GB, free: 0.8398 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.00147/0.3334, allocations: 1.316 MB / 1.079 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001303/0.3347, allocations: 0.7961 MB / 1.08 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.3347, allocations: 8.188 kB / 1.08 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003298/0.3351, allocations: 199.5 kB / 1.08 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006562/0.3357, allocations: 93.83 kB / 1.08 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006023/0.3418, allocations: 4.662 MB / 1.085 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004063/0.3422, allocations: 0.8476 MB / 1.085 GB, free: 8.656 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002005/0.3424, allocations: 55.36 kB / 1.085 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002457/0.3426, allocations: 187.4 kB / 1.086 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of SimCode: time 3.31e-07/0.3427, allocations: 0 / 1.086 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02096/0.3636, allocations: 9.474 MB / 1.095 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000223/0.3639, allocations: 211.6 kB / 1.095 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.05/2.414, allocations: 0 / 1.095 GB, free: 14.88 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_PIDScale_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_PIDScale.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_PIDScale.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches