Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9384/0.9384, allocations: 177.2 MB / 204.2 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.832/1.832, allocations: 359 MB / 0.6052 GB, free: 10.99 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.607e-05/2.795e-05, allocations: 4.281 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001782/0.00181, allocations: 1.269 MB / 0.7883 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0006776/0.002488, allocations: 423.1 kB / 0.7887 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.074e-05/0.002519, allocations: 0 / 0.7887 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.815e-05/0.002547, allocations: 8.766 kB / 0.7887 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.367e-05/0.00259, allocations: 0 / 0.7887 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005754/0.003166, allocations: 112 kB / 0.7888 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.028e-05/0.003236, allocations: 20.66 kB / 0.7888 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.115e-05/0.003277, allocations: 4.906 kB / 0.7888 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.925e-05/0.003316, allocations: 15.92 kB / 0.7889 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.559e-05/0.003342, allocations: 4 kB / 0.7889 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.003358, allocations: 0.6562 kB / 0.7889 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002324/0.00359, allocations: 137.4 kB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.487e-05/0.003605, allocations: 3.938 kB / 0.789 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.675e-05/0.003632, allocations: 7.984 kB / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.003822, allocations: 115.7 kB / 0.7891 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.003825, allocations: 0 / 0.7891 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.12e-07/0.003826, allocations: 1.594 kB / 0.7891 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.003831, allocations: 0 / 0.7891 GB, free: 10.39 MB / 0.7448 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.0005039/0.004335, allocations: 398.2 kB / 0.7895 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.00438, allocations: 11.47 kB / 0.7895 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.877e-05/0.004429, allocations: 12.83 kB / 0.7895 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.637e-05/0.004515, allocations: 112.6 kB / 0.7896 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.004538, allocations: 384 / 0.7896 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.004548, allocations: 4.375 kB / 0.7896 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.00465, allocations: 54.94 kB / 0.7897 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.004657, allocations: 192 / 0.7897 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.004667, allocations: 384 / 0.7897 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.004675, allocations: 4.125 kB / 0.7897 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.534e-05/0.004691, allocations: 4 kB / 0.7897 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000116/0.004807, allocations: 117.3 kB / 0.7898 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.676e-05/0.004884, allocations: 35.53 kB / 0.7898 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.501e-05/0.004909, allocations: 21.19 kB / 0.7899 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.771e-06/0.004914, allocations: 0 / 0.7899 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.173e-05/0.004996, allocations: 53.06 kB / 0.7899 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 2.024e-06/0.004998, allocations: 5.266 kB / 0.7899 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001774/0.005175, allocations: 77.56 kB / 0.79 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.005211, allocations: 59.28 kB / 0.79 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.529e-05/0.005286, allocations: 162.6 kB / 0.7902 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.005298, allocations: 29.7 kB / 0.7902 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.254e-05/0.005341, allocations: 127.6 kB / 0.7903 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.005363, allocations: 7.953 kB / 0.7904 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.005397, allocations: 32.45 kB / 0.7904 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.005505, allocations: 492.1 kB / 0.7909 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.679e-05/0.005522, allocations: 4 kB / 0.7909 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.369e-05/0.005556, allocations: 47.58 kB / 0.7909 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.242e-05/0.005608, allocations: 52.03 kB / 0.791 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.005611, allocations: 0 / 0.791 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.839e-05/0.005689, allocations: 74.7 kB / 0.791 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.005703, allocations: 6.594 kB / 0.791 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.005709, allocations: 4 kB / 0.791 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.005723, allocations: 0 / 0.791 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.665e-05/0.0058, allocations: 12.91 kB / 0.7911 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.005805, allocations: 3.938 kB / 0.7911 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.67e-05/0.005822, allocations: 7.953 kB / 0.7911 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.005833, allocations: 13.14 kB / 0.7911 GB, free: 8.156 MB / 0.7448 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 6.776e-05/0.0059, allocations: 152.6 kB / 0.7912 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.012e-05/0.00591, allocations: 5.438 kB / 0.7912 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.946e-05/0.00594, allocations: 7.688 kB / 0.7912 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.005942, allocations: 3.938 kB / 0.7912 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.005947, allocations: 3.938 kB / 0.7912 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.005951, allocations: 0.5312 kB / 0.7912 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.054e-05/0.006031, allocations: 121.1 kB / 0.7914 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.006033, allocations: 0 / 0.7914 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.786e-06/0.006042, allocations: 0.5312 kB / 0.7914 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.006044, allocations: 0.8438 kB / 0.7914 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.006051, allocations: 0 / 0.7914 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.006053, allocations: 4.844 kB / 0.7914 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.006054, allocations: 0 / 0.7914 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.006159, allocations: 100.3 kB / 0.7915 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-06/0.006165, allocations: 4.812 kB / 0.7915 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.027e-05/0.006176, allocations: 0 / 0.7915 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.846e-05/0.006194, allocations: 8.859 kB / 0.7915 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.265e-05/0.006217, allocations: 4.469 kB / 0.7915 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.006227, allocations: 5.156 kB / 0.7915 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.673e-05/0.006263, allocations: 135.1 kB / 0.7916 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006263, allocations: 0 / 0.7916 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000193/0.006456, allocations: 31.92 kB / 0.7916 GB, free: 7.512 MB / 0.7448 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.0003316/0.006788, allocations: 183.3 kB / 0.7918 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001022/0.00689, allocations: 35.61 kB / 0.7918 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.006892, allocations: 3.188 kB / 0.7919 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.393e-05/0.006916, allocations: 19.67 kB / 0.7919 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001027/0.007019, allocations: 0 / 0.7919 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002239/0.007243, allocations: 118.3 kB / 0.792 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.245e-05/0.007275, allocations: 59.28 kB / 0.792 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.927e-05/0.007294, allocations: 4 kB / 0.792 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.727e-05/0.007312, allocations: 8.5 kB / 0.7921 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of SimCode: time 5.71e-07/0.007312, allocations: 1.188 kB / 0.7921 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of Templates: time 0.003106/0.01042, allocations: 1.189 MB / 0.7932 GB, free: 5.879 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,y Variables in the result:A,B,seed,t0,time,y filterSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.diff.mat", vars={"y"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] filterSimulationResults("/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.diff.ref.mat", vars={"y"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 4.9716675179079175]