Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.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.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 110.2 kB / 16.41 MB, free: 6.488 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.00116/0.00116, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.15 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.409/2.409, allocations: 437 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 56.12 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8089/0.8103, allocations: 151.7 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002368/0.8128, allocations: 1.213 MB / 1.168 GB, free: 2.625 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000845/0.8136, allocations: 421 kB / 1.169 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.404e-05/0.8137, allocations: 0 / 1.169 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.925e-05/0.8137, allocations: 3.938 kB / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.152e-05/0.8138, allocations: 0 / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000583/0.8144, allocations: 107.6 kB / 1.169 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.801e-05/0.8144, allocations: 19.94 kB / 1.169 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.899e-05/0.8145, allocations: 7.984 kB / 1.169 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.358e-05/0.8145, allocations: 7.938 kB / 1.169 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.232e-05/0.8146, allocations: 15.92 kB / 1.169 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.8146, allocations: 0 / 1.169 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002238/0.8148, allocations: 99.89 kB / 1.169 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.8148, allocations: 3.938 kB / 1.169 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.589e-05/0.8149, allocations: 15.92 kB / 1.169 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.8151, allocations: 87.81 kB / 1.169 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.8151, allocations: 0 / 1.169 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8151, allocations: 0 / 1.169 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.8151, allocations: 4 kB / 1.169 GB, free: 1.848 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005058/0.8156, allocations: 389 kB / 1.17 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.8157, allocations: 8.922 kB / 1.17 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.074e-05/0.8157, allocations: 0.9375 kB / 1.17 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.8158, allocations: 164.4 kB / 1.17 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.8159, allocations: 8.312 kB / 1.17 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.8159, allocations: 8.359 kB / 1.17 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.853e-05/0.816, allocations: 34.25 kB / 1.17 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.816, allocations: 4.188 kB / 1.17 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.816, allocations: 7.875 kB / 1.17 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.816, allocations: 0 / 1.17 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.316e-05/0.8161, allocations: 4 kB / 1.17 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001479/0.8162, allocations: 153.7 kB / 1.17 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.391e-05/0.8163, allocations: 30.61 kB / 1.17 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.263e-05/0.8164, allocations: 12.86 kB / 1.17 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.8164, allocations: 7.984 kB / 1.17 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001609/0.8166, allocations: 67.42 kB / 1.17 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.8166, allocations: 0 / 1.17 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0002183/0.8168, allocations: 73.52 kB / 1.17 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.8168, allocations: 51.41 kB / 1.17 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.153e-05/0.8169, allocations: 97.86 kB / 1.17 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.8169, allocations: 29.69 kB / 1.17 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.425e-05/0.817, allocations: 88.14 kB / 1.17 GB, free: 436 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/0.817, allocations: 7.906 kB / 1.17 GB, free: 428 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.817, allocations: 17.72 kB / 1.17 GB, free: 404 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.549e-05/0.8171, allocations: 318.8 kB / 1.171 GB, free: 76 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.128e-05/0.8172, allocations: 8 kB / 1.171 GB, free: 68 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.384e-05/0.8172, allocations: 35.36 kB / 1.171 GB, free: 20 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.406e-05/0.8173, allocations: 47.38 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.8173, allocations: 0 / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001074/0.8174, allocations: 65.62 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.8174, allocations: 7.938 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.8174, allocations: 0 / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.8175, allocations: 4.094 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.517e-05/0.8175, allocations: 15.92 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.8175, allocations: 4 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.845e-05/0.8176, allocations: 5.734 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.8176, allocations: 8 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.65e-05/0.8177, allocations: 113.8 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.359e-05/0.8177, allocations: 3.938 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.258e-05/0.8177, allocations: 11.44 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.8177, allocations: 0 / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.8178, allocations: 4 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.8178, allocations: 7.984 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.8179, allocations: 153.7 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.8179, allocations: 0 / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.235e-05/0.8179, allocations: 0 / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.8179, allocations: 3.938 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.8179, allocations: 4 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.8179, allocations: 160 / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.8179, allocations: 0 / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.8181, allocations: 93.47 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.43e-05/0.8181, allocations: 81.02 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.8181, allocations: 7.938 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.063e-05/0.8182, allocations: 0 / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.31e-05/0.8182, allocations: 4.031 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-06/0.8182, allocations: 7.984 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.55e-05/0.8182, allocations: 75.28 kB / 1.171 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8183, allocations: 0 / 1.171 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002577/0.8185, allocations: 35.98 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003336/0.8189, allocations: 163.8 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001101/0.819, allocations: 35.92 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.819, allocations: 0 / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.656e-05/0.819, allocations: 8 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.8192, allocations: 10 kB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002626/0.8194, allocations: 141.5 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.8197, allocations: 0.6729 MB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.623e-05/0.8197, allocations: 11.38 kB / 1.173 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of SimCode: time 4.01e-07/0.8197, allocations: 4 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of Templates: time 0.002894/0.8226, allocations: 1.218 MB / 1.174 GB, free: 12.84 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches