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.00114/0.00114, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009933/0.0009933, allocations: 181 kB / 24.08 MB, free: 424 kB / 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.9085/0.9085, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.809/1.809, allocations: 359 MB / 0.6055 GB, free: 10.86 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.553e-06/1.553e-06, allocations: 0 / 0.7875 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.269e-05/1.425e-05, allocations: 2.312 kB / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001454/0.001468, allocations: 1.271 MB / 0.7887 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0005944/0.002063, allocations: 424.4 kB / 0.7891 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.513e-05/0.002088, allocations: 0 / 0.7891 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.657e-05/0.002104, allocations: 0 / 0.7891 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.851e-05/0.002143, allocations: 5.562 kB / 0.7892 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004416/0.002585, allocations: 111.5 kB / 0.7893 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.537e-05/0.00264, allocations: 15.92 kB / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 2.75e-05/0.002667, allocations: 1.219 kB / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.228e-05/0.00271, allocations: 19.97 kB / 0.7893 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 1.966e-05/0.002729, allocations: 0 / 0.7893 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.002742, allocations: 4.625 kB / 0.7893 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001893/0.002932, allocations: 135.7 kB / 0.7894 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.128e-05/0.002943, allocations: 5.344 kB / 0.7894 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.81e-05/0.002961, allocations: 4 kB / 0.7894 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.003118, allocations: 115.7 kB / 0.7895 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.00312, allocations: 0 / 0.7895 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.81e-07/0.00312, allocations: 0.8438 kB / 0.7895 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.003123, allocations: 0 / 0.7895 GB, free: 10.15 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.0003313/0.003454, allocations: 406.7 kB / 0.7899 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.003486, allocations: 12.72 kB / 0.7899 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.488e-05/0.003511, allocations: 4.891 kB / 0.79 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.251e-05/0.003573, allocations: 117.5 kB / 0.7901 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.003588, allocations: 384 / 0.7901 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.802e-06/0.003594, allocations: 5.031 kB / 0.7901 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.665e-05/0.003671, allocations: 50.94 kB / 0.7901 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.003677, allocations: 0.9062 kB / 0.7901 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.252e-06/0.003683, allocations: 4.375 kB / 0.7901 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.00369, allocations: 6.031 kB / 0.7901 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.083e-05/0.003701, allocations: 7.875 kB / 0.7901 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.304e-05/0.003784, allocations: 97.25 kB / 0.7902 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.288e-05/0.003837, allocations: 31.06 kB / 0.7903 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.422e-05/0.003851, allocations: 17.16 kB / 0.7903 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.041e-06/0.003857, allocations: 4 kB / 0.7903 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.542e-05/0.003923, allocations: 62.58 kB / 0.7903 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.003924, allocations: 0 / 0.7903 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001226/0.004046, allocations: 65.62 kB / 0.7904 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.004074, allocations: 55.41 kB / 0.7905 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.024e-05/0.004134, allocations: 158.8 kB / 0.7906 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.116e-06/0.004142, allocations: 25.7 kB / 0.7906 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.625e-05/0.004178, allocations: 138.2 kB / 0.7908 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.004194, allocations: 7.953 kB / 0.7908 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.647e-05/0.00422, allocations: 27.36 kB / 0.7908 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.971e-05/0.00432, allocations: 0.4922 MB / 0.7913 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.325e-06/0.004328, allocations: 4 kB / 0.7913 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.633e-05/0.004355, allocations: 46.67 kB / 0.7913 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.05e-05/0.004395, allocations: 55.05 kB / 0.7914 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.004397, allocations: 4.469 kB / 0.7914 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 5.923e-05/0.004456, allocations: 71.17 kB / 0.7915 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.004466, allocations: 5.719 kB / 0.7915 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.004471, allocations: 3.984 kB / 0.7915 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.004483, allocations: 4.656 kB / 0.7915 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.683e-05/0.00453, allocations: 8.531 kB / 0.7915 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.004533, allocations: 0 / 0.7915 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.473e-05/0.004548, allocations: 9.312 kB / 0.7915 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.004554, allocations: 3.938 kB / 0.7915 GB, free: 7.941 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.375e-05/0.004617, allocations: 164.6 kB / 0.7916 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.951e-06/0.004623, allocations: 1.156 kB / 0.7916 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.99e-05/0.004643, allocations: 7.688 kB / 0.7917 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.004645, allocations: 0 / 0.7917 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.004647, allocations: 0.9375 kB / 0.7917 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.004649, allocations: 0 / 0.7917 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.126e-05/0.004711, allocations: 110.7 kB / 0.7918 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.004712, allocations: 0 / 0.7918 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.35e-06/0.004717, allocations: 4 kB / 0.7918 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.004718, allocations: 0 / 0.7918 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.446e-06/0.004722, allocations: 2.312 kB / 0.7918 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.004722, allocations: 0 / 0.7918 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.7e-07/0.004723, allocations: 0 / 0.7918 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.479e-05/0.004797, allocations: 108.2 kB / 0.7919 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-06/0.004802, allocations: 0 / 0.7919 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.512e-06/0.004808, allocations: 0 / 0.7919 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.104e-05/0.004819, allocations: 4 kB / 0.7919 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.341e-05/0.004833, allocations: 7.422 kB / 0.7919 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-06/0.004835, allocations: 0 / 0.7919 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.958e-05/0.004865, allocations: 127.2 kB / 0.792 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.004865, allocations: 0 / 0.792 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001608/0.005026, allocations: 31.92 kB / 0.792 GB, free: 7.328 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.0002289/0.005254, allocations: 187 kB / 0.7922 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.343e-05/0.005318, allocations: 28.11 kB / 0.7922 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.005319, allocations: 4.562 kB / 0.7922 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.906e-05/0.005338, allocations: 16.23 kB / 0.7923 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.891e-05/0.005427, allocations: 9.344 kB / 0.7923 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001548/0.005582, allocations: 118.3 kB / 0.7924 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.489e-05/0.005607, allocations: 55.36 kB / 0.7924 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.499e-05/0.005622, allocations: 4.516 kB / 0.7924 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.8e-05/0.00565, allocations: 71.8 kB / 0.7925 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of SimCode: time 4.71e-07/0.00565, allocations: 3.938 kB / 0.7925 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of Templates: time 0.002578/0.008228, allocations: 1.198 MB / 0.7937 GB, free: 5.625 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.84973526513204]