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.001722/0.001722, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001693/0.001693, allocations: 211.3 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.459/1.459, allocations: 230.6 MB / 256 MB, free: 7.832 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.861/2.861, allocations: 476 MB / 0.7699 GB, free: 4.762 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 73.59 kB / 1.117 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3587, allocations: 169.9 MB / 1.283 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002807/0.3615, allocations: 1.244 MB / 1.284 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000998/0.3625, allocations: 394.8 kB / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.931e-05/0.3625, allocations: 0 / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.837e-05/0.3625, allocations: 0 / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.978e-05/0.3626, allocations: 7.938 kB / 1.284 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006248/0.3632, allocations: 115.6 kB / 1.284 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.983e-05/0.3633, allocations: 19.94 kB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.421e-05/0.3633, allocations: 7.922 kB / 1.284 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.104e-05/0.3633, allocations: 8 kB / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.156e-05/0.3634, allocations: 11.92 kB / 1.284 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.3634, allocations: 0 / 1.284 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002836/0.3637, allocations: 127.8 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.798e-05/0.3637, allocations: 8 kB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.217e-05/0.3637, allocations: 11.92 kB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002191/0.3639, allocations: 96.95 kB / 1.285 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.3639, allocations: 7.938 kB / 1.285 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.034e-06/0.364, allocations: 3.938 kB / 1.285 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.364, allocations: 4 kB / 1.285 GB, free: 10.51 MB / 0.9825 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.0005644/0.3645, allocations: 299.9 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.3646, allocations: 8.031 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.546e-05/0.3646, allocations: 34.75 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.61e-05/0.3647, allocations: 8.938 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.3649, allocations: 110.5 kB / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.3649, allocations: 4.375 kB / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.3649, allocations: 384 / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.365, allocations: 46.25 kB / 1.285 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.365, allocations: 7.922 kB / 1.285 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.3651, allocations: 0 / 1.285 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.3651, allocations: 0 / 1.285 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.123e-05/0.3651, allocations: 15.92 kB / 1.285 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004142/0.3655, allocations: 212 kB / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.3656, allocations: 40.3 kB / 1.285 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.046e-05/0.3657, allocations: 12.86 kB / 1.285 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.3657, allocations: 0 / 1.285 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000192/0.3659, allocations: 67.42 kB / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.453e-06/0.3659, allocations: 0 / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0002575/0.3661, allocations: 73.67 kB / 1.285 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.128e-05/0.3662, allocations: 51.41 kB / 1.285 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.3663, allocations: 97.86 kB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/0.3664, allocations: 37.69 kB / 1.286 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.129e-05/0.3664, allocations: 80.14 kB / 1.286 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.3665, allocations: 11.89 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.489e-05/0.3665, allocations: 25.72 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001956/0.3667, allocations: 314.8 kB / 1.286 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.758e-05/0.3667, allocations: 19.94 kB / 1.286 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.43e-05/0.3668, allocations: 39.36 kB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.048e-05/0.3669, allocations: 47.38 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.3669, allocations: 3.938 kB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001197/0.367, allocations: 69.61 kB / 1.286 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.367, allocations: 8 kB / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.367, allocations: 0 / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.367, allocations: 0 / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.3e-05/0.3671, allocations: 12.06 kB / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.3671, allocations: 4 kB / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.676e-05/0.3672, allocations: 3.953 kB / 1.286 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.3672, allocations: 4.281 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$outputAlias_y,y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001379/0.3673, allocations: 129.6 kB / 1.286 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.918e-06/0.3673, allocations: 4 kB / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.047e-05/0.3674, allocations: 11.73 kB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3674, allocations: 0 / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.3674, allocations: 0 / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.3674, allocations: 4 kB / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003511/0.3677, allocations: 270 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.3677, allocations: 7.984 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.938e-05/0.3678, allocations: 7.938 kB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3678, allocations: 0 / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.3678, allocations: 0 / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.3678, allocations: 0 / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3678, allocations: 0 / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.368, allocations: 171.4 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.535e-06/0.368, allocations: 0 / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.368, allocations: 4 kB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.12e-05/0.3681, allocations: 0 / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.986e-05/0.3681, allocations: 8 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.3681, allocations: 7.984 kB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.968e-05/0.3682, allocations: 75.28 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3682, allocations: 0 / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003133/0.3685, allocations: 35.88 kB / 1.287 GB, free: 7.758 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,y,$outputAlias_y,curSeed) * Number of discrete states: 0 () * 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.001101/0.3696, allocations: 0.7805 MB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001609/0.3698, allocations: 40.05 kB / 1.288 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3698, allocations: 0 / 1.288 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.017e-05/0.3698, allocations: 16 kB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.37, allocations: 0 / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.3719, allocations: 1.273 MB / 1.289 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.372, allocations: 59.36 kB / 1.289 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.169e-05/0.372, allocations: 7.984 kB / 1.289 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.123e-05/0.3721, allocations: 11.56 kB / 1.289 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3721, allocations: 7.938 kB / 1.289 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03502/0.4071, allocations: 2.527 MB / 1.292 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.92, allocations: 4.469 kB / 1.292 GB, free: 3.047 MB / 0.9825 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_BaseClasses_Validation_Linear1D_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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,seed,time,x,y [Calling sys.exit(0), Time elapsed: 18.587138115428388]