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.00139/0.00139, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001772/0.001772, allocations: 212.2 kB / 22.25 MB, free: 5.086 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.511/1.511, allocations: 230.6 MB / 256 MB, free: 8.004 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.877/2.877, allocations: 476.8 MB / 0.7707 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 177] 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.002145/0.002145, allocations: 69.12 kB / 1.117 GB, free: 9 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3884, allocations: 169.9 MB / 1.283 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002482/0.3908, allocations: 1.252 MB / 1.285 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009352/0.3918, allocations: 427 kB / 1.285 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.524e-05/0.3918, allocations: 0 / 1.285 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.039e-05/0.3918, allocations: 4 kB / 1.285 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.738e-05/0.3919, allocations: 3.938 kB / 1.285 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005747/0.3924, allocations: 111.6 kB / 1.285 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.848e-05/0.3925, allocations: 15.98 kB / 1.285 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.724e-05/0.3925, allocations: 0 / 1.285 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.529e-05/0.3926, allocations: 19.86 kB / 1.285 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.268e-05/0.3926, allocations: 7.984 kB / 1.285 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.3926, allocations: 4 kB / 1.285 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002993/0.3929, allocations: 127.8 kB / 1.285 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.395e-05/0.3929, allocations: 11.92 kB / 1.285 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.071e-05/0.393, allocations: 11.98 kB / 1.285 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.3932, allocations: 99.92 kB / 1.285 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3932, allocations: 4 kB / 1.285 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3932, allocations: 0 / 1.285 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.3932, allocations: 0 / 1.285 GB, free: 1.766 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.0004974/0.3937, allocations: 305.7 kB / 1.286 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.3937, allocations: 11.97 kB / 1.286 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.135e-05/0.3938, allocations: 38.73 kB / 1.286 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.64e-05/0.3938, allocations: 0.9375 kB / 1.286 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.3939, allocations: 118.4 kB / 1.286 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.3939, allocations: 384 / 1.286 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.394, allocations: 8.375 kB / 1.286 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.3941, allocations: 38.23 kB / 1.286 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.3941, allocations: 3.938 kB / 1.286 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.3941, allocations: 0 / 1.286 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.3941, allocations: 7.984 kB / 1.286 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.692e-05/0.3941, allocations: 11.94 kB / 1.286 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000324/0.3945, allocations: 216 kB / 1.286 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.3946, allocations: 39.92 kB / 1.286 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.948e-05/0.3946, allocations: 16.86 kB / 1.286 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.3946, allocations: 0 / 1.286 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001678/0.3948, allocations: 59.42 kB / 1.286 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.3948, allocations: 4 kB / 1.286 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0002162/0.395, allocations: 69.69 kB / 1.286 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.3951, allocations: 59.39 kB / 1.286 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.267e-05/0.3951, allocations: 97.86 kB / 1.286 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.3952, allocations: 25.7 kB / 1.286 GB, free: 492 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.184e-05/0.3952, allocations: 80.14 kB / 1.287 GB, free: 408 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.3952, allocations: 19.89 kB / 1.287 GB, free: 388 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.3953, allocations: 17.72 kB / 1.287 GB, free: 364 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.3954, allocations: 318.8 kB / 1.287 GB, free: 36 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.72e-05/0.3954, allocations: 11.98 kB / 1.287 GB, free: 24 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.09e-05/0.3955, allocations: 35.38 kB / 1.287 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.244e-05/0.3956, allocations: 51.36 kB / 1.287 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.3956, allocations: 7.938 kB / 1.287 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001133/0.3957, allocations: 65.62 kB / 1.287 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.3957, allocations: 11.98 kB / 1.287 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.3957, allocations: 3.938 kB / 1.287 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.3957, allocations: 288 / 1.287 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.257e-05/0.3958, allocations: 8 kB / 1.287 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3958, allocations: 160 / 1.287 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.419e-05/0.3958, allocations: 15.89 kB / 1.287 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.3958, allocations: 4.25 kB / 1.287 GB, free: 15.79 MB / 0.9981 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 8.709e-05/0.3959, allocations: 117.8 kB / 1.287 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.584e-05/0.396, allocations: 15.91 kB / 1.287 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.069e-05/0.396, allocations: 7.75 kB / 1.287 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.396, allocations: 4 kB / 1.287 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.396, allocations: 0 / 1.287 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.396, allocations: 0 / 1.287 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002783/0.3963, allocations: 269.6 kB / 1.287 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3963, allocations: 0 / 1.287 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.184e-05/0.3963, allocations: 7.938 kB / 1.287 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3963, allocations: 4 kB / 1.287 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.3963, allocations: 0 / 1.287 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.3963, allocations: 7.984 kB / 1.288 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3963, allocations: 0 / 1.288 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.3965, allocations: 167.4 kB / 1.288 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.74e-06/0.3965, allocations: 0 / 1.288 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.3965, allocations: 0 / 1.288 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.01e-05/0.3965, allocations: 0 / 1.288 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.517e-05/0.3966, allocations: 12 kB / 1.288 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.3966, allocations: 3.984 kB / 1.288 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.298e-05/0.3966, allocations: 79.28 kB / 1.288 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3966, allocations: 0 / 1.288 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002985/0.3969, allocations: 35.88 kB / 1.288 GB, free: 15 MB / 0.9981 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.0008089/0.3977, allocations: 0.7817 MB / 1.289 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001362/0.3979, allocations: 31.92 kB / 1.289 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3979, allocations: 0 / 1.289 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.47e-05/0.3979, allocations: 12 kB / 1.289 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.3981, allocations: 7.125 kB / 1.289 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.3994, allocations: 1.269 MB / 1.29 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.3997, allocations: 0.6769 MB / 1.29 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.383e-05/0.3998, allocations: 7.984 kB / 1.291 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.159e-05/0.3998, allocations: 11.42 kB / 1.291 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of SimCode: time 4.21e-07/0.3998, allocations: 0 / 1.291 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03148/0.4313, allocations: 2.136 MB / 1.293 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.5, allocations: 3.984 kB / 1.293 GB, free: 10.06 MB / 0.9981 GB " [Timeout remaining time 288] (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.267648968845606]