Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001513/0.001514, allocations: 104.7 kB / 16.27 MB, free: 5.98 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.001558/0.001558, allocations: 189.8 kB / 17.2 MB, free: 5.605 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.338/1.338, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.625/2.625, allocations: 482.4 MB / 0.7553 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 76.31 kB / 0.9245 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7132/0.7153, allocations: 162.2 MB / 1.083 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput): time 0.002665/0.718, allocations: 1.842 MB / 1.085 GB, free: 360 kB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001593/0.7196, allocations: 1.251 MB / 1.086 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001671/0.7198, allocations: 10.12 kB / 1.086 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002169/0.72, allocations: 70.88 kB / 1.086 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001487/0.7202, allocations: 59.94 kB / 1.086 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003827/0.7206, allocations: 168.5 kB / 1.086 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004854/0.7211, allocations: 490.6 kB / 1.087 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003932/0.7215, allocations: 256.1 kB / 1.087 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001921/0.7217, allocations: 180.3 kB / 1.087 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002078/0.7219, allocations: 191.5 kB / 1.087 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.333e-05/0.7219, allocations: 51.09 kB / 1.087 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 5.757e-05/0.722, allocations: 50.94 kB / 1.087 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.7221, allocations: 112.2 kB / 1.088 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001787/0.7223, allocations: 207.3 kB / 1.088 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005566/0.7229, allocations: 0.5423 MB / 1.088 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.7229, allocations: 0 / 1.088 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.083e-06/0.7229, allocations: 0 / 1.088 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.7229, allocations: 1.406 kB / 1.088 GB, free: 14.12 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001243/0.7242, allocations: 0.7189 MB / 1.089 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.7242, allocations: 9.297 kB / 1.089 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.961e-05/0.7243, allocations: 47.75 kB / 1.089 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004217/0.7247, allocations: 337.8 kB / 1.089 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.175e-05/0.7248, allocations: 28.41 kB / 1.089 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.385e-05/0.7248, allocations: 42.31 kB / 1.089 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006456/0.7255, allocations: 400.9 kB / 1.09 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.7255, allocations: 192 / 1.09 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.628e-05/0.7255, allocations: 19.94 kB / 1.09 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.7256, allocations: 8.719 kB / 1.09 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005486/0.7261, allocations: 269.3 kB / 1.09 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00215/0.7283, allocations: 1.359 MB / 1.091 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008033/0.7291, allocations: 251.7 kB / 1.092 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002339/0.7293, allocations: 114.9 kB / 1.092 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.7294, allocations: 8.562 kB / 1.092 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.7294, allocations: 39.59 kB / 1.092 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=21): time 1.362e-06/0.7294, allocations: 0 / 1.092 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of matching and sorting (n=21): time 0.0007138/0.7301, allocations: 307.5 kB / 1.092 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.094e-05/0.7302, allocations: 105.9 kB / 1.092 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000466/0.7307, allocations: 404.2 kB / 1.093 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/0.7307, allocations: 32.62 kB / 1.093 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.7309, allocations: 236.3 kB / 1.093 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.407e-05/0.731, allocations: 79.14 kB / 1.093 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.7311, allocations: 63.77 kB / 1.093 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.7313, allocations: 346.5 kB / 1.093 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003034/0.7316, allocations: 120 kB / 1.093 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003627/0.732, allocations: 206.3 kB / 1.094 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005272/0.7325, allocations: 264.6 kB / 1.094 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.7325, allocations: 0 / 1.094 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007657/0.7333, allocations: 371 kB / 1.094 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.7333, allocations: 13.81 kB / 1.094 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.7333, allocations: 1.438 kB / 1.094 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.7333, allocations: 4 kB / 1.094 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00031/0.7337, allocations: 73.12 kB / 1.094 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.7337, allocations: 7.531 kB / 1.094 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002618/0.734, allocations: 51.25 kB / 1.094 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/0.734, allocations: 13.72 kB / 1.094 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003025/0.7343, allocations: 200 kB / 1.095 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002762/0.7346, allocations: 174.9 kB / 1.095 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003668/0.735, allocations: 225.1 kB / 1.095 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.603e-06/0.735, allocations: 4 kB / 1.095 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0005833/0.7356, allocations: 327.7 kB / 1.095 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.809e-06/0.7356, allocations: 6.047 kB / 1.095 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.7356, allocations: 5.875 kB / 1.095 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.388e-06/0.7356, allocations: 3.406 kB / 1.095 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/0.7358, allocations: 58.64 kB / 1.095 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.7358, allocations: 8.125 kB / 1.095 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.7361, allocations: 49.23 kB / 1.095 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.7361, allocations: 12.73 kB / 1.095 GB, free: 9.586 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.0001439/0.7363, allocations: 198.3 kB / 1.096 GB, free: 9.391 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.309e-05/0.7363, allocations: 35.62 kB / 1.096 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005243/0.7369, allocations: 250.3 kB / 1.096 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.7369, allocations: 2.312 kB / 1.096 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.7369, allocations: 0.75 kB / 1.096 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.7369, allocations: 1.688 kB / 1.096 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/0.7383, allocations: 0.853 MB / 1.097 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.7383, allocations: 1.531 kB / 1.097 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002004/0.7385, allocations: 46.41 kB / 1.097 GB, free: 8.68 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.7386, allocations: 3.781 kB / 1.097 GB, free: 8.68 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/0.7386, allocations: 13.28 kB / 1.097 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.7386, allocations: 3.828 kB / 1.097 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.7386, allocations: 6.172 kB / 1.097 GB, free: 8.668 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007492/0.7394, allocations: 486 kB / 1.097 GB, free: 8.348 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.7395, allocations: 125.2 kB / 1.097 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.312e-05/0.7395, allocations: 11.88 kB / 1.097 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.7397, allocations: 20.5 kB / 1.097 GB, free: 8.211 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.251e-05/0.7398, allocations: 21.3 kB / 1.097 GB, free: 8.203 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.7398, allocations: 7.641 kB / 1.097 GB, free: 8.203 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000304/0.7401, allocations: 286.3 kB / 1.098 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.9e-07/0.7401, allocations: 0 / 1.098 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004774/0.7406, allocations: 121.9 kB / 1.098 GB, free: 8.02 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * 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 (21): * Single equations (assignments): 21 * 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.000146/0.7407, allocations: 116.1 kB / 1.098 GB, free: 7.922 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008389/0.7416, allocations: 402.2 kB / 1.098 GB, free: 7.789 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.7416, allocations: 4.062 kB / 1.098 GB, free: 7.785 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001971/0.7418, allocations: 100.8 kB / 1.098 GB, free: 7.754 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005522/0.7424, allocations: 91.88 kB / 1.098 GB, free: 7.719 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.7437, allocations: 0.7113 MB / 1.099 GB, free: 7.246 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00043/0.7442, allocations: 0.7966 MB / 1.1 GB, free: 6.539 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.66e-05/0.7443, allocations: 35.17 kB / 1.1 GB, free: 6.527 MB / 0.8419 GB Notification: Performance of SimCode: time 2.034e-06/0.7443, allocations: 0 / 1.1 GB, free: 6.527 MB / 0.8419 GB Notification: Performance of Templates: time 0.006843/0.7511, allocations: 4.251 MB / 1.104 GB, free: 6.094 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialDerivativeOutput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches