Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.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.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|civTim.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|civTim.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 99.42 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 186.9 kB / 16.92 MB, free: 6.75 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.412/1.412, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.896/2.896, allocations: 462.6 MB / 0.737 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003729/0.0003729, allocations: 11.81 kB / 0.9035 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2929, allocations: 159.6 MB / 1.059 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.0007358/0.2937, allocations: 315.4 kB / 1.06 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 3.555e-05/0.2938, allocations: 4 kB / 1.06 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.182e-05/0.2938, allocations: 0 / 1.06 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.399e-05/0.2938, allocations: 0 / 1.06 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.254e-05/0.2938, allocations: 0 / 1.06 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 2.731e-05/0.2939, allocations: 0 / 1.06 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.588e-05/0.2939, allocations: 4 kB / 1.06 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.959e-05/0.294, allocations: 3.984 kB / 1.06 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.381e-05/0.294, allocations: 0 / 1.06 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.436e-05/0.294, allocations: 0 / 1.06 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.294, allocations: 4 kB / 1.06 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.889e-06/0.294, allocations: 0 / 1.06 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.218e-05/0.2941, allocations: 0 / 1.06 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.191e-05/0.2941, allocations: 29.7 kB / 1.06 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 4.053e-05/0.2941, allocations: 0 / 1.06 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2942, allocations: 0 / 1.06 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2942, allocations: 0 / 1.06 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.2942, allocations: 0 / 1.06 GB, free: 4.566 MB / 0.8106 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.0002747/0.2944, allocations: 311.5 kB / 1.06 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.2945, allocations: 12.09 kB / 1.06 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.665e-05/0.2945, allocations: 8.922 kB / 1.06 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.156e-05/0.2946, allocations: 160.4 kB / 1.06 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.2946, allocations: 4.312 kB / 1.06 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-06/0.2946, allocations: 384 / 1.06 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.824e-05/0.2947, allocations: 30.27 kB / 1.06 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.581e-06/0.2947, allocations: 4.125 kB / 1.06 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.2948, allocations: 3.938 kB / 1.06 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2948, allocations: 0 / 1.06 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.532e-05/0.2948, allocations: 0 / 1.06 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001242/0.2949, allocations: 157.7 kB / 1.06 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.489e-05/0.295, allocations: 18.52 kB / 1.06 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.413e-05/0.295, allocations: 8.922 kB / 1.06 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-06/0.295, allocations: 0 / 1.06 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.295, allocations: 30.56 kB / 1.06 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.295, allocations: 0 / 1.06 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001198/0.2951, allocations: 41.64 kB / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.2952, allocations: 51.41 kB / 1.061 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.526e-05/0.2952, allocations: 89.86 kB / 1.061 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.2952, allocations: 25.7 kB / 1.061 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.377e-05/0.2953, allocations: 92.06 kB / 1.061 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.2953, allocations: 3.984 kB / 1.061 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-05/0.2953, allocations: 9.719 kB / 1.061 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.258e-05/0.2954, allocations: 310.8 kB / 1.061 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.418e-06/0.2955, allocations: 8.062 kB / 1.061 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.443e-06/0.2955, allocations: 4 kB / 1.061 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.545e-05/0.2955, allocations: 8.859 kB / 1.061 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2955, allocations: 0 / 1.061 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.009e-05/0.2956, allocations: 33.7 kB / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.2956, allocations: 4 kB / 1.061 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2956, allocations: 0 / 1.061 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.2956, allocations: 3.938 kB / 1.061 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.274e-05/0.2957, allocations: 4 kB / 1.061 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.2957, allocations: 12.08 kB / 1.061 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.126e-05/0.2957, allocations: 0 / 1.061 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.2957, allocations: 3.938 kB / 1.061 GB, free: 2.914 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 (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.238e-05/0.2958, allocations: 105.8 kB / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.881e-06/0.2958, allocations: 0 / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.437e-05/0.2958, allocations: 7.062 kB / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.2958, allocations: 4 kB / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2958, allocations: 0 / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.2958, allocations: 0 / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.179e-05/0.2959, allocations: 157.6 kB / 1.061 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2959, allocations: 0 / 1.061 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.064e-05/0.2959, allocations: 0 / 1.061 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2959, allocations: 4 kB / 1.061 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.2959, allocations: 3.938 kB / 1.061 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.296, allocations: 0 / 1.061 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.296, allocations: 0 / 1.061 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.257e-05/0.296, allocations: 57.12 kB / 1.061 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.136e-05/0.2961, allocations: 89.12 kB / 1.061 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.032e-05/0.2961, allocations: 3.938 kB / 1.062 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.913e-06/0.2961, allocations: 0 / 1.062 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.34e-05/0.2961, allocations: 3.938 kB / 1.062 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-06/0.2961, allocations: 0 / 1.062 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.808e-05/0.2961, allocations: 75.28 kB / 1.062 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2962, allocations: 0 / 1.062 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00018/0.2963, allocations: 4 kB / 1.062 GB, free: 2.316 MB / 0.8106 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.0001255/0.2965, allocations: 99.25 kB / 1.062 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 5.35e-05/0.2965, allocations: 4 kB / 1.062 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2965, allocations: 0 / 1.062 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.769e-06/0.2965, allocations: 0 / 1.062 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.2967, allocations: 16.59 kB / 1.062 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000229/0.2969, allocations: 118.3 kB / 1.062 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.2971, allocations: 0.6731 MB / 1.062 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.063e-05/0.2972, allocations: 7.562 kB / 1.062 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of SimCode: time 4.51e-07/0.2972, allocations: 4 kB / 1.062 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of Templates: time 0.001803/0.299, allocations: 319.8 kB / 1.063 GB, free: 1.02 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches