Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|staTim.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|staTim.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 106.1 kB / 15.99 MB, free: 6.355 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.001196/0.001196, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.36/1.36, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.225/2.225, allocations: 390.2 MB / 0.665 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 66.11 kB / 0.8127 GB, free: 33.3 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2595, allocations: 140.4 MB / 0.9498 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime): time 0.002606/0.2621, allocations: 0.6419 MB / 0.9504 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 6.016e-05/0.2622, allocations: 4 kB / 0.9504 GB, free: 8.605 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.639e-05/0.2622, allocations: 4 kB / 0.9504 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.256e-05/0.2623, allocations: 0 / 0.9504 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.44e-05/0.2624, allocations: 0 / 0.9504 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.628e-05/0.2624, allocations: 0 / 0.9504 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.965e-05/0.2625, allocations: 4 kB / 0.9504 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.1e-05/0.2626, allocations: 0 / 0.9504 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.982e-05/0.2626, allocations: 3.938 kB / 0.9504 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 1.802e-05/0.2626, allocations: 0 / 0.9504 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.2626, allocations: 4 kB / 0.9504 GB, free: 8.59 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.562e-06/0.2626, allocations: 0 / 0.9504 GB, free: 8.59 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.304e-05/0.2627, allocations: 0 / 0.9504 GB, free: 8.59 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.658e-05/0.2627, allocations: 3.984 kB / 0.9504 GB, free: 8.586 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 5.542e-05/0.2627, allocations: 7.984 kB / 0.9505 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2628, allocations: 0 / 0.9505 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.408e-06/0.2628, allocations: 0 / 0.9505 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.2628, allocations: 3.938 kB / 0.9505 GB, free: 8.574 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002972/0.2631, allocations: 311.6 kB / 0.9508 GB, free: 8.219 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.2631, allocations: 8.031 kB / 0.9508 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.67e-05/0.2632, allocations: 0.9375 kB / 0.9508 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.692e-05/0.2633, allocations: 172.3 kB / 0.9509 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-06/0.2633, allocations: 384 / 0.9509 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.2633, allocations: 4.375 kB / 0.9509 GB, free: 8 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.503e-05/0.2634, allocations: 26.27 kB / 0.951 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.2634, allocations: 192 / 0.951 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.2634, allocations: 3.938 kB / 0.951 GB, free: 7.965 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.2634, allocations: 4 kB / 0.951 GB, free: 7.961 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.086e-05/0.2635, allocations: 0 / 0.951 GB, free: 7.961 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001432/0.2636, allocations: 145.7 kB / 0.9511 GB, free: 7.77 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.484e-05/0.2637, allocations: 22.55 kB / 0.9511 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.391e-05/0.2637, allocations: 12.84 kB / 0.9511 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.2637, allocations: 0 / 0.9511 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.2637, allocations: 34.62 kB / 0.9512 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 2.375e-06/0.2638, allocations: 0 / 0.9512 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001197/0.2639, allocations: 49.42 kB / 0.9512 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.2639, allocations: 51.41 kB / 0.9513 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.303e-05/0.264, allocations: 89.98 kB / 0.9514 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.264, allocations: 29.7 kB / 0.9514 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.582e-05/0.264, allocations: 80.14 kB / 0.9515 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.264, allocations: 0 / 0.9515 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/0.2641, allocations: 13.72 kB / 0.9515 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.2642, allocations: 318.8 kB / 0.9518 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.107e-06/0.2642, allocations: 0 / 0.9518 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.5e-06/0.2642, allocations: 0 / 0.9518 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.967e-05/0.2643, allocations: 12.92 kB / 0.9518 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.2643, allocations: 4 kB / 0.9518 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.442e-05/0.2643, allocations: 33.64 kB / 0.9518 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.2644, allocations: 10.03 kB / 0.9518 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2644, allocations: 0 / 0.9518 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.2644, allocations: 3.938 kB / 0.9518 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.77e-05/0.2645, allocations: 0 / 0.9518 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.2645, allocations: 0 / 0.9518 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.154e-05/0.2645, allocations: 4 kB / 0.9518 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-06/0.2645, allocations: 0 / 0.9518 GB, free: 6.934 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 (1): * Single equations (assignments): 1 * 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.014e-05/0.2646, allocations: 117.9 kB / 0.952 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.212e-06/0.2646, allocations: 0 / 0.952 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.532e-05/0.2646, allocations: 7.062 kB / 0.952 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.2646, allocations: 0 / 0.952 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.2646, allocations: 4 kB / 0.952 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.2646, allocations: 0 / 0.952 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.983e-05/0.2647, allocations: 141.7 kB / 0.9521 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2647, allocations: 0 / 0.9521 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.49e-05/0.2647, allocations: 7.922 kB / 0.9521 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.2648, allocations: 8 kB / 0.9521 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.2648, allocations: 3.938 kB / 0.9521 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2648, allocations: 0 / 0.9521 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2648, allocations: 0 / 0.9521 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.543e-05/0.2649, allocations: 65.06 kB / 0.9522 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.579e-05/0.2649, allocations: 77.11 kB / 0.9523 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.2649, allocations: 11.92 kB / 0.9523 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.234e-06/0.2649, allocations: 3.938 kB / 0.9523 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.271e-05/0.2649, allocations: 4.031 kB / 0.9523 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-06/0.265, allocations: 0 / 0.9523 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.299e-05/0.265, allocations: 77.39 kB / 0.9523 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.265, allocations: 0 / 0.9523 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001838/0.2652, allocations: 0 / 0.9523 GB, free: 6.32 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0001293/0.2653, allocations: 99.25 kB / 0.9524 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 6.387e-05/0.2654, allocations: 8 kB / 0.9524 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2654, allocations: 4.062 kB / 0.9525 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.265e-06/0.2654, allocations: 7.938 kB / 0.9525 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.2655, allocations: 288 / 0.9525 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000245/0.2658, allocations: 115.2 kB / 0.9526 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.2661, allocations: 0.6766 MB / 0.9532 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.784e-05/0.2661, allocations: 7.438 kB / 0.9532 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.2661, allocations: 0 / 0.9532 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of Templates: time 0.001434/0.2675, allocations: 331.5 kB / 0.9536 GB, free: 5.02 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_StandardTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches