Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001273/0.001273, allocations: 106.2 kB / 18.94 MB, free: 2.953 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.001442/0.001442, allocations: 193.4 kB / 22.23 MB, free: 5.152 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.447/1.447, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.632/2.632, allocations: 443.4 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/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: translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 63.91 kB / 1.061 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.894/0.896, allocations: 160.8 MB / 1.218 GB, free: 3.711 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002703/0.8987, allocations: 1.224 MB / 1.22 GB, free: 2.746 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009536/0.8997, allocations: 436.9 kB / 1.22 GB, free: 2.422 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.464e-05/0.8997, allocations: 1.125 kB / 1.22 GB, free: 2.422 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.114e-05/0.8997, allocations: 0 / 1.22 GB, free: 2.422 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.906e-05/0.8998, allocations: 3.938 kB / 1.22 GB, free: 2.418 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006084/0.9004, allocations: 114.5 kB / 1.22 GB, free: 2.34 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.102e-05/0.9004, allocations: 20.94 kB / 1.22 GB, free: 2.328 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.072e-05/0.9005, allocations: 2.469 kB / 1.22 GB, free: 2.328 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.483e-05/0.9005, allocations: 7.812 kB / 1.22 GB, free: 2.324 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.585e-05/0.9005, allocations: 10.8 kB / 1.22 GB, free: 2.316 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.9006, allocations: 5.094 kB / 1.22 GB, free: 2.312 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003008/0.9009, allocations: 136.8 kB / 1.22 GB, free: 2.23 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.11e-05/0.9009, allocations: 10.42 kB / 1.22 GB, free: 2.223 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.774e-05/0.9009, allocations: 6.625 kB / 1.22 GB, free: 2.219 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.9011, allocations: 95.7 kB / 1.22 GB, free: 2.168 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.9011, allocations: 0.9062 kB / 1.22 GB, free: 2.168 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.332e-06/0.9011, allocations: 3.938 kB / 1.22 GB, free: 2.164 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.9011, allocations: 0 / 1.22 GB, free: 2.164 MB / 0.92 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.0006414/0.9018, allocations: 386 kB / 1.221 GB, free: 1.746 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.9018, allocations: 8.406 kB / 1.221 GB, free: 1.746 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.846e-05/0.9019, allocations: 3.469 kB / 1.221 GB, free: 1.746 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.902, allocations: 169.7 kB / 1.221 GB, free: 1.543 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.902, allocations: 1.75 kB / 1.221 GB, free: 1.543 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.902, allocations: 10.72 kB / 1.221 GB, free: 1.535 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.9022, allocations: 39.3 kB / 1.221 GB, free: 1.496 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.9022, allocations: 192 / 1.221 GB, free: 1.496 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.9022, allocations: 3.938 kB / 1.221 GB, free: 1.492 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.9022, allocations: 1.125 kB / 1.221 GB, free: 1.492 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.205e-05/0.9022, allocations: 7.797 kB / 1.221 GB, free: 1.488 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000217/0.9024, allocations: 157.2 kB / 1.221 GB, free: 1.289 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.674e-05/0.9025, allocations: 25.33 kB / 1.221 GB, free: 1.262 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.874e-05/0.9026, allocations: 17.66 kB / 1.221 GB, free: 1.246 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.9026, allocations: 0 / 1.221 GB, free: 1.246 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.9027, allocations: 52.28 kB / 1.221 GB, free: 1.191 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.9027, allocations: 0 / 1.221 GB, free: 1.191 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0002263/0.903, allocations: 77.64 kB / 1.221 GB, free: 1.133 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.903, allocations: 57.69 kB / 1.221 GB, free: 1.066 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.9031, allocations: 102.5 kB / 1.222 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.9031, allocations: 30.77 kB / 1.222 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.8e-05/0.9032, allocations: 85.31 kB / 1.222 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.9032, allocations: 5.109 kB / 1.222 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.829e-05/0.9033, allocations: 22.58 kB / 1.222 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.9034, allocations: 316.6 kB / 1.222 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.902e-05/0.9034, allocations: 4.781 kB / 1.222 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.323e-05/0.9035, allocations: 37.95 kB / 1.222 GB, free: 464 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.491e-05/0.9035, allocations: 45.03 kB / 1.222 GB, free: 420 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.9035, allocations: 0 / 1.222 GB, free: 420 kB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00011/0.9037, allocations: 72.48 kB / 1.222 GB, free: 364 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.9037, allocations: 14.34 kB / 1.222 GB, free: 356 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.9037, allocations: 1.094 kB / 1.222 GB, free: 356 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.9037, allocations: 1.156 kB / 1.222 GB, free: 356 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.885e-05/0.9038, allocations: 14.28 kB / 1.222 GB, free: 348 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.9038, allocations: 1.906 kB / 1.222 GB, free: 348 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.775e-05/0.9038, allocations: 8.609 kB / 1.222 GB, free: 340 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.9038, allocations: 3.188 kB / 1.222 GB, free: 340 kB / 0.92 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 9.92e-05/0.9039, allocations: 115.9 kB / 1.222 GB, free: 216 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.365e-05/0.9039, allocations: 10.5 kB / 1.222 GB, free: 208 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.209e-05/0.9039, allocations: 7.688 kB / 1.222 GB, free: 200 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.904, allocations: 1.094 kB / 1.222 GB, free: 200 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.904, allocations: 1.062 kB / 1.222 GB, free: 200 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.904, allocations: 7.922 kB / 1.222 GB, free: 192 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.9041, allocations: 157.9 kB / 1.222 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.9041, allocations: 0 / 1.222 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.153e-05/0.9041, allocations: 2 kB / 1.222 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.9041, allocations: 5.031 kB / 1.222 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.178e-06/0.9042, allocations: 1.156 kB / 1.222 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.9042, allocations: 0 / 1.222 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.9042, allocations: 0 / 1.222 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.9043, allocations: 86.83 kB / 1.223 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.027e-05/0.9044, allocations: 82 kB / 1.223 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.9044, allocations: 8.703 kB / 1.223 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.19e-05/0.9044, allocations: 1.094 kB / 1.223 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.88e-05/0.9044, allocations: 5.094 kB / 1.223 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.9044, allocations: 1.094 kB / 1.223 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.204e-05/0.9045, allocations: 78.44 kB / 1.223 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.9045, allocations: 4.781 kB / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002939/0.9048, allocations: 34.7 kB / 1.223 GB, free: 15.7 MB / 0.9356 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.0004997/0.9053, allocations: 170.7 kB / 1.223 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001642/0.9055, allocations: 28.33 kB / 1.223 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.9055, allocations: 192 / 1.223 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.39e-05/0.9055, allocations: 22.52 kB / 1.223 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.9057, allocations: 4.531 kB / 1.223 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003913/0.9061, allocations: 114.4 kB / 1.223 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.9065, allocations: 0.6779 MB / 1.224 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.55e-05/0.9065, allocations: 2.188 kB / 1.224 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.287e-05/0.9065, allocations: 9.562 kB / 1.224 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/0.9065, allocations: 0 / 1.224 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of Templates: time 0.005354/0.9119, allocations: 1.059 MB / 1.225 GB, free: 14.16 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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,t0,time,y [Calling sys.exit(0), Time elapsed: 8.905045355670154]