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.007911/0.007911, allocations: 99.92 kB / 15.73 MB, free: 6.016 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.001863/0.001863, allocations: 186.5 kB / 16.67 MB, free: 5.938 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.531/1.531, allocations: 222.9 MB / 240.4 MB, free: 15.06 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.528/2.528, allocations: 437 MB / 0.7105 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 56.12 kB / 1.018 GB, free: 9.449 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9038/0.9059, allocations: 151.7 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002491/0.9085, allocations: 1.202 MB / 1.168 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.9097, allocations: 436.9 kB / 1.168 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.291e-05/0.9098, allocations: 0 / 1.168 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.137e-05/0.9098, allocations: 0 / 1.168 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.497e-05/0.9099, allocations: 0 / 1.168 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006861/0.9106, allocations: 107.6 kB / 1.168 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.961e-05/0.9107, allocations: 15.98 kB / 1.168 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.478e-05/0.9108, allocations: 7.969 kB / 1.168 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.053e-05/0.9108, allocations: 11.92 kB / 1.168 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.777e-05/0.9109, allocations: 8 kB / 1.168 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.9109, allocations: 4 kB / 1.168 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002328/0.9111, allocations: 103.8 kB / 1.168 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.233e-05/0.9112, allocations: 7.938 kB / 1.168 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.475e-05/0.9112, allocations: 4 kB / 1.168 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.9114, allocations: 96.3 kB / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.9114, allocations: 0 / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.495e-06/0.9114, allocations: 0 / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.9115, allocations: 0 / 1.169 GB, free: 1.84 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.0006904/0.9122, allocations: 392.8 kB / 1.169 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.436e-05/0.9122, allocations: 8.922 kB / 1.169 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.089e-05/0.9123, allocations: 8.938 kB / 1.169 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.9124, allocations: 164.3 kB / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/0.9125, allocations: 4.312 kB / 1.169 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.9125, allocations: 4.375 kB / 1.169 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.9126, allocations: 34.25 kB / 1.169 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.9126, allocations: 192 / 1.169 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.9127, allocations: 7.922 kB / 1.169 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.9127, allocations: 4 kB / 1.169 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.643e-05/0.9127, allocations: 4 kB / 1.169 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002198/0.9129, allocations: 157.7 kB / 1.169 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.9131, allocations: 34.55 kB / 1.169 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.783e-05/0.9131, allocations: 12.86 kB / 1.169 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.9131, allocations: 0 / 1.169 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001666/0.9133, allocations: 55.48 kB / 1.169 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.9133, allocations: 4 kB / 1.169 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0002519/0.9136, allocations: 65.62 kB / 1.169 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.207e-05/0.9136, allocations: 59.33 kB / 1.169 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.9138, allocations: 101.9 kB / 1.17 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.9138, allocations: 25.7 kB / 1.17 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.395e-05/0.9139, allocations: 96.02 kB / 1.17 GB, free: 420 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.805e-05/0.9139, allocations: 7.938 kB / 1.17 GB, free: 412 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.19e-05/0.914, allocations: 21.72 kB / 1.17 GB, free: 384 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002026/0.9142, allocations: 314.8 kB / 1.17 GB, free: 60 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.111e-05/0.9142, allocations: 11.98 kB / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.107e-05/0.9143, allocations: 31.44 kB / 1.17 GB, free: 4 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.9144, allocations: 43.73 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.9144, allocations: 4 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001244/0.9145, allocations: 69.61 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.9145, allocations: 11.94 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.9146, allocations: 0 / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.9146, allocations: 0 / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.376e-05/0.9147, allocations: 15.94 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/0.9147, allocations: 0 / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.243e-05/0.9147, allocations: 15.83 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.9148, allocations: 7.984 kB / 1.17 GB, free: 15.82 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 0.0001004/0.9149, allocations: 114.1 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.9149, allocations: 7.938 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.436e-05/0.9149, allocations: 7.5 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.9149, allocations: 0 / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.9149, allocations: 0 / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.9149, allocations: 0 / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.9151, allocations: 153.7 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.9151, allocations: 0 / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.24e-05/0.9151, allocations: 4 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.9152, allocations: 11.92 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.9152, allocations: 0 / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.9152, allocations: 3.984 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.9152, allocations: 0 / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.9153, allocations: 85.05 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.106e-05/0.9154, allocations: 85.06 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.9154, allocations: 3.938 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.173e-05/0.9155, allocations: 0 / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.9155, allocations: 8 kB / 1.171 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.9155, allocations: 0 / 1.171 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.176e-05/0.9156, allocations: 87.27 kB / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9156, allocations: 0 / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002729/0.9159, allocations: 27.88 kB / 1.171 GB, free: 15.13 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.0004982/0.9164, allocations: 171 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001524/0.9165, allocations: 27.92 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.9165, allocations: 0 / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.471e-05/0.9166, allocations: 19.92 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/0.9167, allocations: 0 / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003294/0.9171, allocations: 112.8 kB / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.9175, allocations: 0.6768 MB / 1.172 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.793e-05/0.9175, allocations: 4.188 kB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.733e-05/0.9175, allocations: 11.44 kB / 1.172 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of SimCode: time 2.1e-07/0.9175, allocations: 0 / 1.172 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of Templates: time 0.003648/0.9212, allocations: 1.034 MB / 1.173 GB, free: 13.03 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,seed,t0,time,y