Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="Buildings_11_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.001234/0.001234, allocations: 108 kB / 15.61 MB, free: 152 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.001148/0.001148, allocations: 196 kB / 16.53 MB, free: 6.664 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.282/1.282, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.561/2.561, allocations: 469.8 MB / 0.7424 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 71.12 kB / 0.9087 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2549, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002414/0.2573, allocations: 1.065 MB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001251/0.2586, allocations: 0.9948 MB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.2587, allocations: 4 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.2589, allocations: 19.73 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.982e-05/0.2589, allocations: 15.81 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002514/0.2592, allocations: 75.84 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.2594, allocations: 176 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001721/0.2596, allocations: 80.02 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.2597, allocations: 71.72 kB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.2598, allocations: 87.59 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.364e-05/0.2598, allocations: 16 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.631e-05/0.2599, allocations: 20 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.478e-05/0.2599, allocations: 35.84 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.496e-05/0.26, allocations: 75.59 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.2602, allocations: 175.6 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.2602, allocations: 0 / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2602, allocations: 0 / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.2602, allocations: 0 / 1.067 GB, free: 11.27 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007689/0.261, allocations: 482.8 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.2611, allocations: 8.031 kB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.222e-05/0.2611, allocations: 50.73 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.729e-05/0.2612, allocations: 16.75 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.2614, allocations: 228.5 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.2615, allocations: 16.31 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.124e-05/0.2615, allocations: 20.38 kB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003059/0.2618, allocations: 154.2 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.2618, allocations: 4 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.2619, allocations: 4 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.2619, allocations: 4 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002826/0.2622, allocations: 111.9 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.2632, allocations: 0.5274 MB / 1.069 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003585/0.2636, allocations: 146.6 kB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/0.2638, allocations: 84.84 kB / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.2638, allocations: 4 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002571/0.264, allocations: 121.6 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=19): time 1.733e-06/0.2641, allocations: 0 / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19): time 0.000527/0.2646, allocations: 221.3 kB / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.2646, allocations: 59.39 kB / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.2648, allocations: 159.6 kB / 1.069 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.2648, allocations: 29.7 kB / 1.069 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.498e-05/0.2649, allocations: 120.4 kB / 1.069 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.434e-05/0.265, allocations: 67.11 kB / 1.069 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.11e-05/0.265, allocations: 37.7 kB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.2652, allocations: 330.8 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.2654, allocations: 63.97 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.2656, allocations: 89.66 kB / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003402/0.2659, allocations: 150.4 kB / 1.07 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2659, allocations: 0 / 1.07 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004734/0.2664, allocations: 206 kB / 1.07 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.2664, allocations: 4 kB / 1.07 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.2665, allocations: 0 / 1.07 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.2665, allocations: 8.031 kB / 1.07 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.2667, allocations: 39.91 kB / 1.07 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.2667, allocations: 0 / 1.07 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.2668, allocations: 31.73 kB / 1.07 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.2668, allocations: 11.98 kB / 1.07 GB, free: 7.477 MB / 0.8262 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.0001164/0.267, allocations: 137.7 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.267, allocations: 11.91 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004051/0.2674, allocations: 192.3 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.2674, allocations: 0 / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2674, allocations: 7.938 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.2674, allocations: 0 / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008094/0.2683, allocations: 0.594 MB / 1.071 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2683, allocations: 0 / 1.071 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001716/0.2684, allocations: 35.92 kB / 1.071 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/0.2685, allocations: 8.125 kB / 1.071 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.2685, allocations: 12 kB / 1.071 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.2685, allocations: 0 / 1.071 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.2685, allocations: 7.938 kB / 1.071 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005711/0.2691, allocations: 379 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.287e-05/0.2691, allocations: 100.8 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.2692, allocations: 4 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.2694, allocations: 20.02 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.796e-05/0.2694, allocations: 23.92 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.2694, allocations: 11.98 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.567e-05/0.2695, allocations: 125.2 kB / 1.072 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2695, allocations: 0 / 1.072 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002623/0.2698, allocations: 35.91 kB / 1.072 GB, free: 5.656 MB / 0.8262 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.0009/0.2707, allocations: 0.9215 MB / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004235/0.2712, allocations: 167.8 kB / 1.073 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.2712, allocations: 0 / 1.073 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001826/0.2713, allocations: 83.84 kB / 1.073 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.2717, allocations: 33.7 kB / 1.073 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002742/0.2744, allocations: 2.12 MB / 1.075 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004615/0.2749, allocations: 0.7243 MB / 1.076 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.331e-05/0.275, allocations: 25.59 kB / 1.076 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.196e-05/0.2751, allocations: 51.41 kB / 1.076 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.2751, allocations: 0 / 1.076 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.616/3.891, allocations: 3.559 MB / 1.08 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/16.31, allocations: 0 / 1.08 GB, free: 13.88 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-07 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches