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.001134/0.001134, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001488/0.001488, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.341/1.341, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.302/2.302, allocations: 390.3 MB / 0.6653 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 68.88 kB / 0.8132 GB, free: 33.11 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2844, allocations: 140.4 MB / 0.9503 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime): time 0.002456/0.2869, allocations: 0.5703 MB / 0.9509 GB, free: 8.301 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 4.78e-05/0.287, allocations: 4 kB / 0.9509 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.256e-05/0.287, allocations: 0 / 0.9509 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.289e-05/0.2871, allocations: 0 / 0.9509 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3e-05/0.2871, allocations: 0 / 0.9509 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.216e-05/0.2872, allocations: 0 / 0.9509 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.103e-05/0.2873, allocations: 4 kB / 0.9509 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.445e-05/0.2874, allocations: 4 kB / 0.9509 GB, free: 8.289 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.195e-05/0.2874, allocations: 0 / 0.9509 GB, free: 8.289 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.224e-05/0.2874, allocations: 3.938 kB / 0.9509 GB, free: 8.285 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.2874, allocations: 0 / 0.9509 GB, free: 8.285 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.456e-06/0.2874, allocations: 4 kB / 0.9509 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.475e-05/0.2875, allocations: 3.984 kB / 0.9509 GB, free: 8.277 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.426e-05/0.2875, allocations: 0 / 0.9509 GB, free: 8.277 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.555e-05/0.2876, allocations: 4 kB / 0.9509 GB, free: 8.273 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.2876, allocations: 3.984 kB / 0.9509 GB, free: 8.27 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2876, allocations: 0 / 0.9509 GB, free: 8.27 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.2876, allocations: 0 / 0.9509 GB, free: 8.27 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.000351/0.288, allocations: 311.5 kB / 0.9512 GB, free: 7.914 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.288, allocations: 8.031 kB / 0.9512 GB, free: 7.906 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.661e-05/0.288, allocations: 4.938 kB / 0.9512 GB, free: 7.902 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.2882, allocations: 164.4 kB / 0.9514 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.2882, allocations: 4.359 kB / 0.9514 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-06/0.2882, allocations: 384 / 0.9514 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.2883, allocations: 34.25 kB / 0.9514 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.2883, allocations: 4.125 kB / 0.9514 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.2883, allocations: 3.938 kB / 0.9514 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.2883, allocations: 0 / 0.9514 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.946e-05/0.2884, allocations: 0 / 0.9514 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001852/0.2886, allocations: 145.7 kB / 0.9515 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.448e-05/0.2886, allocations: 26.52 kB / 0.9516 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.136e-05/0.2887, allocations: 8.953 kB / 0.9516 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.2887, allocations: 0 / 0.9516 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/0.2887, allocations: 34.55 kB / 0.9516 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.2887, allocations: 3.938 kB / 0.9516 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001978/0.2889, allocations: 37.55 kB / 0.9516 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.453e-05/0.289, allocations: 71.47 kB / 0.9517 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.669e-05/0.2891, allocations: 89.86 kB / 0.9518 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.2891, allocations: 25.7 kB / 0.9518 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.618e-05/0.2892, allocations: 80.14 kB / 0.9519 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.307e-05/0.2892, allocations: 0 / 0.9519 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.776e-05/0.2893, allocations: 9.719 kB / 0.9519 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.2895, allocations: 314.8 kB / 0.9522 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.007e-05/0.2895, allocations: 0 / 0.9522 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.03e-05/0.2895, allocations: 11.98 kB / 0.9522 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.092e-05/0.2895, allocations: 12.86 kB / 0.9522 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2895, allocations: 0 / 0.9522 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.032e-05/0.2896, allocations: 29.7 kB / 0.9523 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.2896, allocations: 7.938 kB / 0.9523 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.2896, allocations: 0 / 0.9523 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.2896, allocations: 7.938 kB / 0.9523 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.035e-05/0.2897, allocations: 0 / 0.9523 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.2897, allocations: 0 / 0.9523 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.075e-05/0.2897, allocations: 4.094 kB / 0.9523 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.2898, allocations: 0 / 0.9523 GB, free: 6.617 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 9.492e-05/0.2899, allocations: 111.8 kB / 0.9524 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.266e-06/0.2899, allocations: 3.984 kB / 0.9524 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.85e-05/0.2899, allocations: 7.062 kB / 0.9524 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.2899, allocations: 0 / 0.9524 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2899, allocations: 0 / 0.9524 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2899, allocations: 0 / 0.9524 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.29, allocations: 145.7 kB / 0.9525 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.29, allocations: 8 kB / 0.9525 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.52e-05/0.2901, allocations: 0 / 0.9525 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.2901, allocations: 3.984 kB / 0.9526 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.2901, allocations: 3.938 kB / 0.9526 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.2901, allocations: 3.984 kB / 0.9526 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.2901, allocations: 3.938 kB / 0.9526 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.408e-05/0.2902, allocations: 61.08 kB / 0.9526 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.536e-05/0.2902, allocations: 77.11 kB / 0.9527 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.2902, allocations: 11.91 kB / 0.9527 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.945e-06/0.2902, allocations: 0 / 0.9527 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.365e-05/0.2903, allocations: 3.984 kB / 0.9527 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-06/0.2903, allocations: 4 kB / 0.9527 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.84e-05/0.2903, allocations: 75.28 kB / 0.9528 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2903, allocations: 0 / 0.9528 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002134/0.2905, allocations: 0 / 0.9528 GB, free: 6.008 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.0001539/0.2907, allocations: 99.25 kB / 0.9529 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.569e-05/0.2908, allocations: 8 kB / 0.9529 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2908, allocations: 0 / 0.9529 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.913e-06/0.2908, allocations: 0 / 0.9529 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.2909, allocations: 8.219 kB / 0.9529 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003138/0.2913, allocations: 125.3 kB / 0.953 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.2915, allocations: 0.6727 MB / 0.9537 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.263e-05/0.2916, allocations: 7.438 kB / 0.9537 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.2916, allocations: 128 / 0.9537 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of Templates: time 0.001655/0.2932, allocations: 334 kB / 0.954 GB, free: 4.703 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