Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.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.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.y|der1.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.y|der1.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 104.6 kB / 16.35 MB, free: 5.828 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.001806/0.001806, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.48/2.48, allocations: 442.5 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 68 kB / 0.8773 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2715, allocations: 153 MB / 1.027 GB, free: 2.016 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.002602/0.2742, allocations: 1.423 MB / 1.028 GB, free: 0.5859 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004678/0.2747, allocations: 211.4 kB / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.038e-05/0.2747, allocations: 3.938 kB / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.037e-05/0.2748, allocations: 7.922 kB / 1.028 GB, free: 376 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002003/0.275, allocations: 15.86 kB / 1.028 GB, free: 360 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00011/0.2751, allocations: 19.98 kB / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.2752, allocations: 51.84 kB / 1.028 GB, free: 288 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.2754, allocations: 11.98 kB / 1.028 GB, free: 276 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.217e-05/0.2754, allocations: 15.94 kB / 1.028 GB, free: 260 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.208e-05/0.2755, allocations: 31.89 kB / 1.028 GB, free: 228 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.2755, allocations: 4 kB / 1.028 GB, free: 224 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.412e-05/0.2755, allocations: 4 kB / 1.028 GB, free: 220 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.163e-05/0.2756, allocations: 11.94 kB / 1.029 GB, free: 208 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.33e-05/0.2756, allocations: 15.92 kB / 1.029 GB, free: 192 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001049/0.2757, allocations: 47.8 kB / 1.029 GB, free: 144 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2757, allocations: 0 / 1.029 GB, free: 144 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2757, allocations: 3.938 kB / 1.029 GB, free: 140 kB / 0.795 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.2757, allocations: 0 / 1.029 GB, free: 140 kB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005467/0.2763, allocations: 363.4 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.2763, allocations: 8.031 kB / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.549e-05/0.2764, allocations: 8.844 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.2766, allocations: 188.1 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.2766, allocations: 384 / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.2766, allocations: 4.375 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.2768, allocations: 58.23 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.2768, allocations: 192 / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.2768, allocations: 7.938 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.2769, allocations: 0 / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.277, allocations: 43.95 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004455/0.2775, allocations: 281 kB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00029/0.2778, allocations: 66.48 kB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.889e-05/0.2779, allocations: 36.83 kB / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.2779, allocations: 0 / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.278, allocations: 30.56 kB / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.278, allocations: 0 / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003772/0.2783, allocations: 113.5 kB / 1.03 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.2784, allocations: 51.41 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.271e-05/0.2785, allocations: 113.8 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.2785, allocations: 29.7 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.384e-05/0.2785, allocations: 84.12 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/0.2786, allocations: 19.75 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/0.2786, allocations: 17.72 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.2787, allocations: 318.8 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.462e-05/0.2788, allocations: 23.98 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.3e-05/0.2789, allocations: 32.34 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/0.2791, allocations: 48.83 kB / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.2791, allocations: 3.938 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002193/0.2793, allocations: 93.59 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.2794, allocations: 7.938 kB / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.2794, allocations: 0 / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.2794, allocations: 0 / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.285e-05/0.2795, allocations: 15.98 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.2795, allocations: 0 / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.993e-05/0.2796, allocations: 7.984 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.2796, allocations: 0 / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.74e-05/0.2797, allocations: 121.7 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/0.2797, allocations: 7.906 kB / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002462/0.2799, allocations: 93.48 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.28, allocations: 0 / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.28, allocations: 0 / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.28, allocations: 0 / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.2802, allocations: 173.6 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2802, allocations: 0 / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.373e-05/0.2803, allocations: 12 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.2803, allocations: 4 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.2803, allocations: 7.984 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.2803, allocations: 0 / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.2803, allocations: 192 / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000369/0.2807, allocations: 219.3 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.49e-05/0.2808, allocations: 77.11 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.2808, allocations: 8.062 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.62e-05/0.2809, allocations: 7.969 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/0.2809, allocations: 7.984 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.2809, allocations: 0 / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.751e-05/0.281, allocations: 91.27 kB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.2e-07/0.281, allocations: 0 / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002269/0.2812, allocations: 4 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der1.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 (4): * Single equations (assignments): 4 * 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.0001306/0.2814, allocations: 103.2 kB / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000238/0.2816, allocations: 55.95 kB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2816, allocations: 0 / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.21e-05/0.2817, allocations: 27.92 kB / 1.032 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.282, allocations: 14.7 kB / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003459/0.2824, allocations: 167 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.2826, allocations: 0.6807 MB / 1.032 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.847e-05/0.2827, allocations: 4 kB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.808e-05/0.2827, allocations: 7.438 kB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of SimCode: time 4e-07/0.2827, allocations: 0 / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of Templates: time 0.002715/0.2854, allocations: 0.6173 MB / 1.033 GB, free: 11.22 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Derivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches