Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Derivative,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative",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.006661/0.006661, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001712/0.001712, allocations: 198.9 kB / 16.67 MB, free: 5.934 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.324/2.324, allocations: 437.1 MB / 0.7106 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 67.89 kB / 1.018 GB, free: 9.855 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6487/0.6505, allocations: 151.6 MB / 1.166 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.00199/0.6526, allocations: 1.069 MB / 1.167 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.6537, allocations: 0.9908 MB / 1.168 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.276e-05/0.6538, allocations: 4 kB / 1.168 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.6539, allocations: 23.73 kB / 1.168 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.469e-05/0.654, allocations: 19.8 kB / 1.168 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002339/0.6542, allocations: 71.86 kB / 1.168 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000192/0.6544, allocations: 180.1 kB / 1.169 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.6546, allocations: 72.06 kB / 1.169 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.318e-05/0.6547, allocations: 75.64 kB / 1.169 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.964e-05/0.6548, allocations: 79.61 kB / 1.169 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.833e-05/0.6548, allocations: 16 kB / 1.169 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.537e-05/0.6548, allocations: 16 kB / 1.169 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.676e-05/0.6549, allocations: 43.89 kB / 1.169 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.301e-05/0.655, allocations: 79.53 kB / 1.169 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.6552, allocations: 186.8 kB / 1.169 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.6552, allocations: 0 / 1.169 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6552, allocations: 3.938 kB / 1.169 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.6552, allocations: 0 / 1.169 GB, free: 0.8281 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007392/0.656, allocations: 486.6 kB / 1.17 GB, free: 308 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.656, allocations: 12.03 kB / 1.17 GB, free: 296 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.839e-05/0.656, allocations: 50.73 kB / 1.17 GB, free: 236 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.043e-05/0.6561, allocations: 16.84 kB / 1.17 GB, free: 220 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.6564, allocations: 233.8 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.6564, allocations: 8.375 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/0.6564, allocations: 16.38 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002992/0.6567, allocations: 151.2 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.6568, allocations: 0 / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.6568, allocations: 19.98 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.6568, allocations: 4 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002692/0.6571, allocations: 103.9 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009953/0.6581, allocations: 0.539 MB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003418/0.6584, allocations: 145.4 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.6586, allocations: 80.77 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.6586, allocations: 15.98 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002178/0.6589, allocations: 109.6 kB / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=19): time 1.392e-06/0.6589, allocations: 0 / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of matching and sorting (n=19): time 0.0005086/0.6594, allocations: 225.5 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.6594, allocations: 59.34 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.6596, allocations: 161.1 kB / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.6596, allocations: 29.7 kB / 1.171 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.634e-05/0.6597, allocations: 120.5 kB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.508e-05/0.6597, allocations: 71.41 kB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.314e-05/0.6598, allocations: 37.7 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.6599, allocations: 326.8 kB / 1.172 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.6601, allocations: 71.81 kB / 1.172 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.6604, allocations: 91.91 kB / 1.172 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000325/0.6607, allocations: 143.3 kB / 1.172 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.6607, allocations: 0 / 1.172 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004746/0.6612, allocations: 218.1 kB / 1.172 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.6612, allocations: 4 kB / 1.173 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.6612, allocations: 0 / 1.173 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.6612, allocations: 4 kB / 1.173 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.6614, allocations: 47.84 kB / 1.173 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.6614, allocations: 7.938 kB / 1.173 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.6616, allocations: 23.88 kB / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.6616, allocations: 4 kB / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001063/0.6617, allocations: 129.8 kB / 1.173 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.6617, allocations: 23.84 kB / 1.173 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003968/0.6621, allocations: 189 kB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.6621, allocations: 4 kB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.6621, allocations: 0 / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.6622, allocations: 3.984 kB / 1.173 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007854/0.6629, allocations: 0.5812 MB / 1.173 GB, free: 12 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.663, allocations: 8.188 kB / 1.173 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.6631, allocations: 39.91 kB / 1.174 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/0.6631, allocations: 7.938 kB / 1.174 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.6632, allocations: 8 kB / 1.174 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.6632, allocations: 0 / 1.174 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.6632, allocations: 4 kB / 1.174 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005565/0.6637, allocations: 377.3 kB / 1.174 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.68e-05/0.6638, allocations: 100.9 kB / 1.174 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.6638, allocations: 8 kB / 1.174 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.664, allocations: 19.98 kB / 1.174 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.352e-05/0.6641, allocations: 23.97 kB / 1.174 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.6641, allocations: 8 kB / 1.174 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.64e-05/0.6642, allocations: 119.2 kB / 1.174 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6642, allocations: 0 / 1.174 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002488/0.6644, allocations: 31.95 kB / 1.174 GB, free: 11.2 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der1.x,intWitRes.y,der2.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0008696/0.6653, allocations: 0.936 MB / 1.175 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003968/0.6657, allocations: 159.2 kB / 1.175 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6657, allocations: 0 / 1.175 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.6659, allocations: 96.2 kB / 1.175 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.6662, allocations: 27.91 kB / 1.175 GB, free: 9.957 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002549/0.6688, allocations: 2.123 MB / 1.177 GB, free: 7.715 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.6691, allocations: 0.7283 MB / 1.178 GB, free: 6.961 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.222e-05/0.6692, allocations: 13.42 kB / 1.178 GB, free: 6.949 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.416e-05/0.6693, allocations: 55.42 kB / 1.178 GB, free: 6.895 MB / 0.9044 GB Notification: Performance of SimCode: time 1.864e-06/0.6693, allocations: 0 / 1.178 GB, free: 6.895 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9189/1.588, allocations: 3.613 MB / 1.182 GB, free: 3.387 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/12.78, allocations: 16.61 kB / 1.182 GB, free: 3.375 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-07 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches