Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.y|der1.y",fileNamePrefix="Buildings_9_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_9_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.001382/0.001382, allocations: 103.6 kB / 16.35 MB, free: 6.289 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.001519/0.001519, allocations: 191.6 kB / 17.29 MB, free: 5.863 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.273/1.273, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.124/2.124, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 61.3 kB / 0.814 GB, free: 32.75 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2451, allocations: 140.4 MB / 0.9511 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.00232/0.2475, allocations: 1.43 MB / 0.9525 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003876/0.2479, allocations: 215.4 kB / 0.9527 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.417e-05/0.2479, allocations: 0 / 0.9527 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.55e-05/0.2479, allocations: 0 / 0.9527 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001524/0.2481, allocations: 19.86 kB / 0.9527 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 8.268e-05/0.2482, allocations: 19.92 kB / 0.9528 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.2483, allocations: 55.83 kB / 0.9528 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.288e-05/0.2484, allocations: 8 kB / 0.9528 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.686e-05/0.2484, allocations: 19.92 kB / 0.9528 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.61e-05/0.2485, allocations: 19.91 kB / 0.9529 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.2485, allocations: 4 kB / 0.9529 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.082e-05/0.2485, allocations: 4 kB / 0.9529 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.713e-05/0.2486, allocations: 8 kB / 0.9529 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.839e-05/0.2486, allocations: 23.86 kB / 0.9529 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.358e-05/0.2487, allocations: 47.8 kB / 0.9529 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2487, allocations: 4 kB / 0.953 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2487, allocations: 3.938 kB / 0.953 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.2487, allocations: 3.984 kB / 0.953 GB, free: 6.191 MB / 0.7325 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.0004402/0.2492, allocations: 360.3 kB / 0.9533 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.2492, allocations: 12.02 kB / 0.9533 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.981e-05/0.2492, allocations: 12.84 kB / 0.9533 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.2494, allocations: 176.3 kB / 0.9535 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.725e-06/0.2494, allocations: 384 / 0.9535 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.2494, allocations: 384 / 0.9535 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.2496, allocations: 58.23 kB / 0.9536 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.2496, allocations: 4.188 kB / 0.9536 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.2496, allocations: 3.938 kB / 0.9536 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.2496, allocations: 3.938 kB / 0.9536 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001691/0.2498, allocations: 51.89 kB / 0.9536 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003899/0.2502, allocations: 276.9 kB / 0.9539 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002503/0.2504, allocations: 66.55 kB / 0.9539 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.208e-05/0.2505, allocations: 28.84 kB / 0.954 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.2506, allocations: 7.969 kB / 0.954 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.2506, allocations: 42.48 kB / 0.954 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.2506, allocations: 0 / 0.954 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0003395/0.2509, allocations: 97.64 kB / 0.9541 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.251, allocations: 51.41 kB / 0.9542 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.567e-05/0.2511, allocations: 113.8 kB / 0.9543 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.2511, allocations: 25.7 kB / 0.9543 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.351e-05/0.2511, allocations: 96.03 kB / 0.9544 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.2512, allocations: 11.84 kB / 0.9544 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.2512, allocations: 13.72 kB / 0.9544 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.683e-05/0.2513, allocations: 318.8 kB / 0.9547 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.056e-05/0.2514, allocations: 23.98 kB / 0.9547 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.997e-05/0.2515, allocations: 27.92 kB / 0.9548 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.2516, allocations: 60.94 kB / 0.9548 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2516, allocations: 3.938 kB / 0.9548 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002079/0.2519, allocations: 89.56 kB / 0.9549 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.2519, allocations: 11.94 kB / 0.9549 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.2519, allocations: 0 / 0.9549 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.2519, allocations: 4 kB / 0.9549 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.793e-05/0.252, allocations: 11.98 kB / 0.9549 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.252, allocations: 0 / 0.9549 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.633e-05/0.2521, allocations: 7.984 kB / 0.9549 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.2521, allocations: 4 kB / 0.9549 GB, free: 3.93 MB / 0.7325 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 6.415e-05/0.2522, allocations: 119.7 kB / 0.9551 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.2522, allocations: 7.906 kB / 0.9551 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002337/0.2524, allocations: 89.55 kB / 0.9552 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2524, allocations: 0 / 0.9552 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2524, allocations: 384 / 0.9552 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.2525, allocations: 0 / 0.9552 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.2526, allocations: 173.6 kB / 0.9553 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2526, allocations: 0 / 0.9553 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.597e-05/0.2527, allocations: 15.92 kB / 0.9553 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.2527, allocations: 0 / 0.9553 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.2527, allocations: 0 / 0.9553 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.2527, allocations: 4 kB / 0.9553 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2527, allocations: 7.938 kB / 0.9553 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000323/0.2531, allocations: 211.3 kB / 0.9555 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.367e-05/0.2531, allocations: 85.12 kB / 0.9556 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.2531, allocations: 0 / 0.9556 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.409e-05/0.2532, allocations: 4 kB / 0.9556 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.2533, allocations: 12.05 kB / 0.9556 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.2533, allocations: 0 / 0.9556 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.55e-05/0.2533, allocations: 87.28 kB / 0.9557 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2533, allocations: 0 / 0.9557 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002356/0.2536, allocations: 8 kB / 0.9557 GB, free: 3.02 MB / 0.7325 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 9.328e-05/0.2537, allocations: 99.23 kB / 0.9558 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002236/0.2539, allocations: 63.95 kB / 0.9559 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2539, allocations: 0 / 0.9559 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.003e-05/0.254, allocations: 27.98 kB / 0.9559 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.2543, allocations: 13.98 kB / 0.9559 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003111/0.2546, allocations: 154.5 kB / 0.9561 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.2548, allocations: 0.6999 MB / 0.9568 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.815e-05/0.2549, allocations: 4.375 kB / 0.9568 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.54e-05/0.2549, allocations: 7.438 kB / 0.9568 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.2549, allocations: 0 / 0.9568 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of Templates: time 0.002522/0.2574, allocations: 0.6106 MB / 0.9574 GB, free: 1.297 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Derivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches