Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001589/0.00159, allocations: 110.4 kB / 17.08 MB, free: 5.82 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 193.2 kB / 20.03 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 245.7 MB, free: 4.234 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.841/2.841, allocations: 489.3 MB / 0.7687 GB, free: 3.832 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheEqu.y|cheEqu.u1|cheEqu.u2",fileNamePrefix="Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality") translateModel(Buildings.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheEqu.y|cheEqu.u1|cheEqu.u2",fileNamePrefix="Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 71.88 kB / 1.103 GB, free: 0.8789 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8035/0.8054, allocations: 163.8 MB / 1.263 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002356/0.8078, allocations: 1.532 MB / 1.264 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006367/0.8084, allocations: 437.1 kB / 1.264 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.635e-05/0.8085, allocations: 3.719 kB / 1.264 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.261e-05/0.8085, allocations: 5.203 kB / 1.264 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.332e-05/0.8086, allocations: 5.328 kB / 1.264 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.8088, allocations: 30.75 kB / 1.264 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.365e-05/0.8089, allocations: 44.22 kB / 1.265 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.809, allocations: 17.8 kB / 1.265 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.8091, allocations: 23.39 kB / 1.265 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.754e-05/0.8092, allocations: 26.39 kB / 1.265 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.8092, allocations: 3.469 kB / 1.265 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.209e-05/0.8092, allocations: 4.281 kB / 1.265 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.939e-05/0.8092, allocations: 6.922 kB / 1.265 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.136e-05/0.8093, allocations: 26.92 kB / 1.265 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.775e-05/0.8094, allocations: 44.77 kB / 1.265 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.8094, allocations: 0 / 1.265 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8094, allocations: 0.8125 kB / 1.265 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.8094, allocations: 0 / 1.265 GB, free: 6.535 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004365/0.8098, allocations: 362.9 kB / 1.265 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.8099, allocations: 9.75 kB / 1.265 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.884e-05/0.8099, allocations: 4.469 kB / 1.265 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.852e-05/0.81, allocations: 172 kB / 1.265 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.81, allocations: 10.62 kB / 1.265 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.81, allocations: 2.656 kB / 1.265 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.8102, allocations: 72.47 kB / 1.265 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.8102, allocations: 0.875 kB / 1.265 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.8103, allocations: 0 / 1.265 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.8103, allocations: 2.125 kB / 1.265 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001853/0.8105, allocations: 42.94 kB / 1.265 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003695/0.8108, allocations: 296 kB / 1.266 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003026/0.8111, allocations: 68.25 kB / 1.266 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.441e-05/0.8112, allocations: 23.67 kB / 1.266 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.8113, allocations: 4.844 kB / 1.266 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.163e-05/0.8113, allocations: 36.08 kB / 1.266 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.8113, allocations: 0.7812 kB / 1.266 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0003721/0.8117, allocations: 92.34 kB / 1.266 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.003e-05/0.8117, allocations: 52.92 kB / 1.266 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.437e-05/0.8118, allocations: 122.2 kB / 1.266 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.614e-06/0.8118, allocations: 26.61 kB / 1.266 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.948e-05/0.8118, allocations: 92.3 kB / 1.266 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.531e-05/0.8118, allocations: 10.05 kB / 1.266 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.898e-05/0.8119, allocations: 14.02 kB / 1.266 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.804e-05/0.8119, allocations: 322.7 kB / 1.266 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.649e-05/0.812, allocations: 16.64 kB / 1.266 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.708e-05/0.8121, allocations: 13.84 kB / 1.266 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.8123, allocations: 43.94 kB / 1.267 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.8123, allocations: 0 / 1.267 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002031/0.8125, allocations: 76.53 kB / 1.267 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.8125, allocations: 5.406 kB / 1.267 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.8125, allocations: 0.9375 kB / 1.267 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.8125, allocations: 0 / 1.267 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.472e-05/0.8126, allocations: 10.06 kB / 1.267 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.8126, allocations: 0.7812 kB / 1.267 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.523e-05/0.8127, allocations: 13.22 kB / 1.267 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.8127, allocations: 1.625 kB / 1.267 GB, free: 4.738 MB / 0.9981 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 (3): * Single equations (assignments): 3 * 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 4.601e-05/0.8127, allocations: 116.5 kB / 1.267 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.8128, allocations: 6.891 kB / 1.267 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.076e-05/0.8128, allocations: 6.75 kB / 1.267 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.8128, allocations: 1.156 kB / 1.267 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.8128, allocations: 0 / 1.267 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.8128, allocations: 1.828 kB / 1.267 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.813, allocations: 176.2 kB / 1.267 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.813, allocations: 4.609 kB / 1.267 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.971e-05/0.813, allocations: 14.14 kB / 1.267 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.8131, allocations: 0.9062 kB / 1.267 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.8131, allocations: 0.6562 kB / 1.267 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.8131, allocations: 8.922 kB / 1.267 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.8131, allocations: 0 / 1.267 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002262/0.8133, allocations: 172.5 kB / 1.267 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.867e-05/0.8133, allocations: 83.62 kB / 1.267 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.8134, allocations: 1.906 kB / 1.267 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.152e-05/0.8134, allocations: 8.797 kB / 1.267 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/0.8135, allocations: 5.578 kB / 1.267 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.8135, allocations: 2.359 kB / 1.267 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.849e-05/0.8135, allocations: 97.22 kB / 1.267 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8135, allocations: 0 / 1.267 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000213/0.8138, allocations: 18.14 kB / 1.267 GB, free: 4.035 MB / 0.9981 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 (3): * Single equations (assignments): 3 * 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 7.45e-05/0.8138, allocations: 98.8 kB / 1.267 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002303/0.8141, allocations: 44.03 kB / 1.267 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8141, allocations: 0.7188 kB / 1.267 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.423e-05/0.8142, allocations: 20.91 kB / 1.267 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.8145, allocations: 2.25 kB / 1.267 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003229/0.8148, allocations: 179.4 kB / 1.268 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.268e-05/0.8149, allocations: 0.6827 MB / 1.268 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.257e-05/0.8149, allocations: 11.73 kB / 1.268 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of SimCode: time 2.5e-07/0.8149, allocations: 0 / 1.268 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of Templates: time 0.002429/0.8174, allocations: 0.7172 MB / 1.269 GB, free: 3.008 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & ./Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,cheEqu.y,cheEqu.u1,cheEqu.u2 Variables in the result:cheEqu.u1,cheEqu.u2,cheEqu.y,time [Calling sys.exit(0), Time elapsed: 10.449505405966192]