Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 102.7 kB / 16.45 MB, free: 6.445 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.001536/0.001536, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.448/1.448, allocations: 225.6 MB / 247.8 MB, free: 3.719 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.856/2.856, allocations: 497.2 MB / 0.7812 GB, free: 11.96 MB / 0.6231 GB " [Timeout remaining time 176] 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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 59.89 kB / 1.134 GB, free: 13.2 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9902/0.9922, allocations: 173.9 MB / 1.304 GB, free: 32.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001847/0.994, allocations: 1.221 MB / 1.305 GB, free: 31.22 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00069/0.9947, allocations: 419.5 kB / 1.306 GB, free: 30.96 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.527e-05/0.9947, allocations: 0 / 1.306 GB, free: 30.96 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 7.721e-05/0.9948, allocations: 7.938 kB / 1.306 GB, free: 30.95 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 1.953e-05/0.9948, allocations: 3.938 kB / 1.306 GB, free: 30.95 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000407/0.9952, allocations: 109.5 kB / 1.306 GB, free: 30.89 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.32e-05/0.9953, allocations: 21.5 kB / 1.306 GB, free: 30.89 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.804e-05/0.9953, allocations: 2.875 kB / 1.306 GB, free: 30.89 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.128e-05/0.9954, allocations: 10.86 kB / 1.306 GB, free: 30.88 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.95e-05/0.9954, allocations: 12.88 kB / 1.306 GB, free: 30.88 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.9954, allocations: 0 / 1.306 GB, free: 30.88 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001687/0.9956, allocations: 103.9 kB / 1.306 GB, free: 30.85 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.068e-05/0.9956, allocations: 23.09 kB / 1.306 GB, free: 30.84 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.9956, allocations: 40.47 kB / 1.306 GB, free: 30.81 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.9958, allocations: 134.2 kB / 1.306 GB, free: 30.76 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.9958, allocations: 4 kB / 1.306 GB, free: 30.75 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.472e-06/0.9958, allocations: 0 / 1.306 GB, free: 30.75 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.9958, allocations: 0 / 1.306 GB, free: 30.75 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0004011/0.9962, allocations: 449 kB / 1.306 GB, free: 30.31 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.9963, allocations: 11.34 kB / 1.306 GB, free: 30.31 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.549e-05/0.9963, allocations: 48.17 kB / 1.306 GB, free: 30.26 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.847e-05/0.9964, allocations: 14.5 kB / 1.306 GB, free: 30.25 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.91e-05/0.9965, allocations: 179.1 kB / 1.307 GB, free: 30.04 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.9965, allocations: 3.344 kB / 1.307 GB, free: 30.04 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.9965, allocations: 3.25 kB / 1.307 GB, free: 30.04 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.9967, allocations: 150 kB / 1.307 GB, free: 29.98 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.9967, allocations: 3.938 kB / 1.307 GB, free: 29.98 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.9967, allocations: 0 / 1.307 GB, free: 29.98 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.9967, allocations: 2.75 kB / 1.307 GB, free: 29.98 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.724e-05/0.9968, allocations: 60.3 kB / 1.307 GB, free: 29.96 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002623/0.997, allocations: 297.6 kB / 1.307 GB, free: 29.66 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.9971, allocations: 91.03 kB / 1.307 GB, free: 29.61 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.781e-05/0.9972, allocations: 70.55 kB / 1.307 GB, free: 29.59 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.9972, allocations: 0 / 1.307 GB, free: 29.59 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001866/0.9974, allocations: 175.1 kB / 1.307 GB, free: 29.5 MB / 1.061 GB Notification: Performance of pre-optimization done (n=38): time 1.262e-06/0.9974, allocations: 4 kB / 1.307 GB, free: 29.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=38): time 0.0004767/0.9979, allocations: 493.6 kB / 1.308 GB, free: 29.36 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.9979, allocations: 89.25 kB / 1.308 GB, free: 29.29 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.362e-05/0.998, allocations: 125.1 kB / 1.308 GB, free: 29.17 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.276e-05/0.998, allocations: 51.08 kB / 1.308 GB, free: 29.13 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.755e-05/0.998, allocations: 84.78 kB / 1.308 GB, free: 29.04 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.4e-05/0.9981, allocations: 105.1 kB / 1.308 GB, free: 28.97 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.29e-05/0.9981, allocations: 87.11 kB / 1.308 GB, free: 28.93 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.847e-05/0.9982, allocations: 342.4 kB / 1.309 GB, free: 28.6 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.9983, allocations: 138.9 kB / 1.309 GB, free: 28.57 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.9985, allocations: 214.3 kB / 1.309 GB, free: 28.47 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003193/0.9988, allocations: 406.7 kB / 1.31 GB, free: 28.3 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.9988, allocations: 6.875 kB / 1.31 GB, free: 28.3 MB / 1.061 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0004016/0.9992, allocations: 442.7 kB / 1.31 GB, free: 28.14 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.9992, allocations: 6.312 kB / 1.31 GB, free: 28.14 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.9992, allocations: 6.953 kB / 1.31 GB, free: 28.14 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.9993, allocations: 2.906 kB / 1.31 GB, free: 28.14 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.671e-05/0.9993, allocations: 18.88 kB / 1.31 GB, free: 28.14 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.9993, allocations: 10.83 kB / 1.31 GB, free: 28.13 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.145e-05/0.9994, allocations: 36.86 kB / 1.31 GB, free: 28.1 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.9994, allocations: 9.312 kB / 1.31 GB, free: 28.1 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 71 (state[33],$PRE.state[33],state[32],$PRE.state[32],state[31],$PRE.state[31],state[30],$PRE.state[30],state[29],$PRE.state[29],state[28],$PRE.state[28],state[27],$PRE.state[27],state[26],$PRE.state[26],state[25],$PRE.state[25],state[24],$PRE.state[24],state[23],$PRE.state[23],state[22],$PRE.state[22],state[21],$PRE.state[21],state[20],$PRE.state[20],state[19],$PRE.state[19],state[18],$PRE.state[18],state[17],$PRE.state[17],state[16],$PRE.state[16],state[15],$PRE.state[15],state[14],$PRE.state[14],state[13],$PRE.state[13],state[12],$PRE.state[12],state[11],$PRE.state[11],state[10],$PRE.state[10],state[9],$PRE.state[9],state[8],$PRE.state[8],state[7],$PRE.state[7],state[6],$PRE.state[6],state[5],$PRE.state[5],state[4],$PRE.state[4],state[3],$PRE.state[3],state[2],$PRE.state[2],state[1],$PRE.state[1],r,$PRE.r,$whenCondition1,$outputAlias_y,$PRE.$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * Array equations: 1 * 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.0001157/0.9995, allocations: 189.3 kB / 1.31 GB, free: 27.96 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.232e-05/0.9995, allocations: 7.906 kB / 1.31 GB, free: 27.95 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.842e-05/0.9995, allocations: 8.188 kB / 1.31 GB, free: 27.94 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.9995, allocations: 0 / 1.31 GB, free: 27.94 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.9996, allocations: 7.188 kB / 1.31 GB, free: 27.94 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.9996, allocations: 0 / 1.31 GB, free: 27.94 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004414/1, allocations: 0.6332 MB / 1.311 GB, free: 27.53 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/1, allocations: 0 / 1.311 GB, free: 27.53 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.536e-05/1, allocations: 2.844 kB / 1.311 GB, free: 27.53 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/1, allocations: 2.875 kB / 1.311 GB, free: 27.53 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/1, allocations: 4 kB / 1.311 GB, free: 27.52 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/1, allocations: 0 / 1.311 GB, free: 27.52 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/1, allocations: 0 / 1.311 GB, free: 27.52 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000379/1, allocations: 487.6 kB / 1.311 GB, free: 27.29 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.004e-05/1, allocations: 90.66 kB / 1.311 GB, free: 27.19 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/1, allocations: 27.5 kB / 1.311 GB, free: 27.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.631e-05/1, allocations: 7.359 kB / 1.311 GB, free: 27.18 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.631e-05/1.001, allocations: 6.719 kB / 1.311 GB, free: 27.18 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/1.001, allocations: 4 kB / 1.311 GB, free: 27.17 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.101e-05/1.001, allocations: 80.97 kB / 1.312 GB, free: 27.1 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.001, allocations: 0 / 1.312 GB, free: 27.1 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002953/1.001, allocations: 59.75 kB / 1.312 GB, free: 27.08 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition1,$outputAlias_y,state[1],state[2],state[3],state[4],state[5],state[6],state[7],state[8],state[9],state[10],state[11],state[12],state[13],state[14],state[15],state[16],state[17],state[18],state[19],state[20],state[21],state[22],state[23],state[24],state[25],state[26],state[27],state[28],state[29],state[30],state[31],state[32],state[33],r) * Number of discrete states: 33 (state[1],state[2],state[3],state[4],state[5],state[6],state[7],state[8],state[9],state[10],state[11],state[12],state[13],state[14],state[15],state[16],state[17],state[18],state[19],state[20],state[21],state[22],state[23],state[24],state[25],state[26],state[27],state[28],state[29],state[30],state[31],state[32],state[33]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0008904/1.002, allocations: 1.21 MB / 1.313 GB, free: 26.26 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003454/1.002, allocations: 270.8 kB / 1.313 GB, free: 26.19 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.002, allocations: 0 / 1.313 GB, free: 26.19 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.66e-05/1.002, allocations: 77.69 kB / 1.313 GB, free: 26.17 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/1.002, allocations: 11.19 kB / 1.313 GB, free: 26.16 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/1.004, allocations: 2.504 MB / 1.316 GB, free: 24.51 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001644/1.005, allocations: 0.7138 MB / 1.316 GB, free: 23.81 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.308e-05/1.005, allocations: 14.97 kB / 1.316 GB, free: 23.81 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.989e-05/1.005, allocations: 42.64 kB / 1.316 GB, free: 23.78 MB / 1.061 GB Notification: Performance of SimCode: time 6.22e-07/1.005, allocations: 0 / 1.316 GB, free: 23.78 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02462/1.029, allocations: 3.173 MB / 1.319 GB, free: 23.23 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.079/9.108, allocations: 4.656 kB / 1.319 GB, free: 23.23 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Linear1D_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.diff",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,globalSeed,localSeed,time,x,y [Calling sys.exit(0), Time elapsed: 15.352025190368295]