Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Sources.Validation.StandardTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|staTim.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|staTim.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 101.1 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.001875/0.001875, allocations: 190.3 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.433/1.433, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.582/2.582, allocations: 437 MB / 0.711 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 63.45 kB / 0.8699 GB, free: 2.215 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2913, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime): time 0.002009/0.2933, allocations: 0.5666 MB / 1.019 GB, free: 10.09 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 3.595e-05/0.2934, allocations: 11.92 kB / 1.019 GB, free: 10.08 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.824e-05/0.2934, allocations: 0 / 1.019 GB, free: 10.08 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.476e-05/0.2935, allocations: 0 / 1.019 GB, free: 10.08 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 2.791e-05/0.2935, allocations: 0 / 1.019 GB, free: 10.08 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 3.186e-05/0.2935, allocations: 4 kB / 1.019 GB, free: 10.07 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.612e-05/0.2936, allocations: 4 kB / 1.019 GB, free: 10.07 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.294e-05/0.2936, allocations: 7.938 kB / 1.019 GB, free: 10.06 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.421e-05/0.2937, allocations: 0 / 1.019 GB, free: 10.06 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 1.677e-05/0.2937, allocations: 0 / 1.019 GB, free: 10.06 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 9.197e-06/0.2937, allocations: 0 / 1.019 GB, free: 10.06 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 5.701e-06/0.2937, allocations: 0 / 1.019 GB, free: 10.06 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.145e-05/0.2937, allocations: 0 / 1.019 GB, free: 10.06 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.167e-05/0.2938, allocations: 0 / 1.019 GB, free: 10.06 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 5.354e-05/0.2938, allocations: 4 kB / 1.019 GB, free: 10.06 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2938, allocations: 0 / 1.019 GB, free: 10.06 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.472e-06/0.2938, allocations: 4 kB / 1.019 GB, free: 10.05 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.2939, allocations: 0 / 1.019 GB, free: 10.05 MB / 0.795 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.0002701/0.2941, allocations: 319.5 kB / 1.019 GB, free: 9.691 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.2942, allocations: 8.922 kB / 1.019 GB, free: 9.684 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.581e-05/0.2942, allocations: 0.9375 kB / 1.019 GB, free: 9.684 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.787e-05/0.2943, allocations: 160.4 kB / 1.019 GB, free: 9.488 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.2943, allocations: 384 / 1.019 GB, free: 9.488 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/0.2943, allocations: 4.312 kB / 1.019 GB, free: 9.484 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.586e-05/0.2944, allocations: 38.27 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.2944, allocations: 4.172 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.2945, allocations: 3.938 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.2945, allocations: 0 / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.85e-05/0.2945, allocations: 7.922 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001433/0.2946, allocations: 153.7 kB / 1.019 GB, free: 9.227 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 3.854e-05/0.2947, allocations: 14.58 kB / 1.019 GB, free: 9.203 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.301e-05/0.2947, allocations: 12.89 kB / 1.019 GB, free: 9.188 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 7.875e-06/0.2947, allocations: 4 kB / 1.019 GB, free: 9.184 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.2948, allocations: 30.56 kB / 1.019 GB, free: 9.145 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.2948, allocations: 0 / 1.019 GB, free: 9.145 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0001199/0.2949, allocations: 45.56 kB / 1.019 GB, free: 9.094 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.2949, allocations: 55.41 kB / 1.019 GB, free: 9.027 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.384e-05/0.295, allocations: 93.86 kB / 1.019 GB, free: 8.926 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.295, allocations: 25.7 kB / 1.02 GB, free: 8.895 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.032e-05/0.295, allocations: 84.27 kB / 1.02 GB, free: 8.809 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.295, allocations: 0 / 1.02 GB, free: 8.809 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-05/0.2951, allocations: 9.719 kB / 1.02 GB, free: 8.793 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.2952, allocations: 314.8 kB / 1.02 GB, free: 8.477 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.974e-06/0.2952, allocations: 0 / 1.02 GB, free: 8.477 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.601e-06/0.2952, allocations: 0 / 1.02 GB, free: 8.477 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.604e-05/0.2952, allocations: 12.86 kB / 1.02 GB, free: 8.461 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.2953, allocations: 0 / 1.02 GB, free: 8.461 MB / 0.795 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.542e-05/0.2953, allocations: 41.69 kB / 1.02 GB, free: 8.414 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.2953, allocations: 4 kB / 1.02 GB, free: 8.41 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.2953, allocations: 0 / 1.02 GB, free: 8.41 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.2954, allocations: 7.938 kB / 1.02 GB, free: 8.402 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.201e-05/0.2954, allocations: 0 / 1.02 GB, free: 8.402 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.2954, allocations: 0 / 1.02 GB, free: 8.402 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.285e-05/0.2954, allocations: 0 / 1.02 GB, free: 8.402 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.2955, allocations: 0 / 1.02 GB, free: 8.402 MB / 0.795 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 6.927e-05/0.2955, allocations: 112.2 kB / 1.02 GB, free: 8.285 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.582e-06/0.2955, allocations: 4.031 kB / 1.02 GB, free: 8.281 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.881e-05/0.2956, allocations: 11.06 kB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.2956, allocations: 3.984 kB / 1.02 GB, free: 8.266 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2956, allocations: 3.938 kB / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2956, allocations: 0 / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.029e-05/0.2957, allocations: 141.7 kB / 1.02 GB, free: 8.074 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.2957, allocations: 4 kB / 1.02 GB, free: 8.07 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.096e-05/0.2957, allocations: 0 / 1.02 GB, free: 8.07 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2957, allocations: 0 / 1.02 GB, free: 8.07 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.2957, allocations: 3.938 kB / 1.02 GB, free: 8.066 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.2957, allocations: 0 / 1.02 GB, free: 8.066 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2957, allocations: 4 kB / 1.02 GB, free: 8.062 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.321e-05/0.2958, allocations: 65.06 kB / 1.02 GB, free: 7.98 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.333e-05/0.2958, allocations: 77.11 kB / 1.02 GB, free: 7.887 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.2959, allocations: 3.938 kB / 1.02 GB, free: 7.883 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.139e-05/0.2959, allocations: 4 kB / 1.02 GB, free: 7.879 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.918e-06/0.2959, allocations: 0 / 1.02 GB, free: 7.879 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-06/0.2959, allocations: 7.938 kB / 1.02 GB, free: 7.871 MB / 0.795 GB Notification: Performance of sorting global known variables: time 2.7e-05/0.2959, allocations: 79.31 kB / 1.02 GB, free: 7.793 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2959, allocations: 0 / 1.02 GB, free: 7.793 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002002/0.2961, allocations: 0 / 1.02 GB, free: 7.793 MB / 0.795 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.0001194/0.2963, allocations: 103.2 kB / 1.021 GB, free: 7.684 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 6.827e-05/0.2963, allocations: 7.938 kB / 1.021 GB, free: 7.676 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2963, allocations: 0 / 1.021 GB, free: 7.676 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 5.039e-06/0.2964, allocations: 0 / 1.021 GB, free: 7.676 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.2965, allocations: 17.11 kB / 1.021 GB, free: 7.664 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002489/0.2968, allocations: 119.2 kB / 1.021 GB, free: 7.516 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.297, allocations: 0.6729 MB / 1.021 GB, free: 6.816 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.588e-05/0.297, allocations: 7.438 kB / 1.021 GB, free: 6.809 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.297, allocations: 0 / 1.021 GB, free: 6.809 MB / 0.795 GB Notification: Performance of Templates: time 0.001509/0.2985, allocations: 333.4 kB / 1.022 GB, free: 6.484 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_StandardTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.StandardTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches