Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 110.9 kB / 16.37 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 189.9 kB / 17.3 MB, free: 5.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.248/2.248, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 66.44 kB / 0.814 GB, free: 32.77 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.276, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002548/0.2786, allocations: 1.217 MB / 0.9523 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000966/0.2796, allocations: 428.7 kB / 0.9527 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.348e-05/0.2797, allocations: 4 kB / 0.9527 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.339e-05/0.2797, allocations: 0 / 0.9527 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.823e-05/0.2798, allocations: 0 / 0.9527 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006422/0.2804, allocations: 107.6 kB / 0.9528 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.2805, allocations: 11.98 kB / 0.9528 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.177e-05/0.2806, allocations: 7.984 kB / 0.9528 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.68e-05/0.2806, allocations: 7.938 kB / 0.9528 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.762e-05/0.2807, allocations: 7.984 kB / 0.9529 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.2807, allocations: 0 / 0.9529 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002212/0.2809, allocations: 103.8 kB / 0.953 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.918e-05/0.281, allocations: 11.92 kB / 0.953 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.98e-05/0.281, allocations: 8 kB / 0.953 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002138/0.2812, allocations: 91.81 kB / 0.9531 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2812, allocations: 0 / 0.9531 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2812, allocations: 0 / 0.9531 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.2813, allocations: 3.938 kB / 0.9531 GB, free: 6.066 MB / 0.7325 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.0005627/0.2818, allocations: 385 kB / 0.9534 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.2819, allocations: 8.031 kB / 0.9534 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.798e-05/0.2819, allocations: 4.938 kB / 0.9534 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.2821, allocations: 176.2 kB / 0.9536 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.2821, allocations: 384 / 0.9536 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.2821, allocations: 4.375 kB / 0.9536 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.2822, allocations: 38.25 kB / 0.9537 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.2822, allocations: 192 / 0.9537 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.2822, allocations: 3.938 kB / 0.9537 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.2823, allocations: 4 kB / 0.9537 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.206e-05/0.2823, allocations: 3.984 kB / 0.9537 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001699/0.2825, allocations: 153.7 kB / 0.9538 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.518e-05/0.2826, allocations: 34.52 kB / 0.9538 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.601e-05/0.2826, allocations: 20.94 kB / 0.9539 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.2826, allocations: 0 / 0.9539 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001378/0.2828, allocations: 47.41 kB / 0.9539 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.2828, allocations: 0 / 0.9539 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0002326/0.283, allocations: 73.61 kB / 0.954 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.2831, allocations: 59.34 kB / 0.954 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.78e-05/0.2832, allocations: 101.8 kB / 0.9541 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.2832, allocations: 29.7 kB / 0.9542 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.328e-05/0.2832, allocations: 84.12 kB / 0.9542 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.2833, allocations: 11.81 kB / 0.9543 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.2833, allocations: 21.7 kB / 0.9543 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.2834, allocations: 314.8 kB / 0.9546 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.79e-05/0.2835, allocations: 8 kB / 0.9546 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.343e-05/0.2835, allocations: 35.42 kB / 0.9546 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.871e-05/0.2836, allocations: 43.75 kB / 0.9547 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.2836, allocations: 4 kB / 0.9547 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001006/0.2837, allocations: 73.59 kB / 0.9547 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.2837, allocations: 15.88 kB / 0.9547 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.2837, allocations: 0 / 0.9547 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.2837, allocations: 0 / 0.9547 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.416e-05/0.2838, allocations: 11.94 kB / 0.9548 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.2838, allocations: 4 kB / 0.9548 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.459e-05/0.2839, allocations: 4 kB / 0.9548 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.2839, allocations: 0 / 0.9548 GB, free: 4.066 MB / 0.7325 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 8.907e-05/0.284, allocations: 124.9 kB / 0.9549 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.489e-05/0.284, allocations: 11.83 kB / 0.9549 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.955e-05/0.284, allocations: 7.5 kB / 0.9549 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.284, allocations: 0 / 0.9549 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.284, allocations: 3.938 kB / 0.9549 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2841, allocations: 0 / 0.9549 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.2842, allocations: 153.7 kB / 0.9551 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2842, allocations: 0 / 0.9551 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.286e-05/0.2842, allocations: 4 kB / 0.9551 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.2842, allocations: 3.938 kB / 0.9551 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.2842, allocations: 0 / 0.9551 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.2842, allocations: 4 kB / 0.9551 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.2842, allocations: 7.922 kB / 0.9551 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001248/0.2844, allocations: 81.12 kB / 0.9551 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.043e-05/0.2844, allocations: 77.11 kB / 0.9552 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.2844, allocations: 7.922 kB / 0.9552 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.402e-05/0.2845, allocations: 4 kB / 0.9552 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.827e-05/0.2845, allocations: 4 kB / 0.9552 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.2845, allocations: 4 kB / 0.9552 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.527e-05/0.2846, allocations: 79.28 kB / 0.9553 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2846, allocations: 0 / 0.9553 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002555/0.2848, allocations: 31.98 kB / 0.9553 GB, free: 3.371 MB / 0.7325 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.0003366/0.2852, allocations: 165.3 kB / 0.9555 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001131/0.2853, allocations: 31.92 kB / 0.9555 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2853, allocations: 0 / 0.9555 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.078e-05/0.2854, allocations: 15.98 kB / 0.9555 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/0.2855, allocations: 7.875 kB / 0.9556 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002411/0.2857, allocations: 112.1 kB / 0.9557 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.286, allocations: 0.6805 MB / 0.9563 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.873e-05/0.286, allocations: 4 kB / 0.9563 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.457e-05/0.286, allocations: 11.62 kB / 0.9563 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/0.286, allocations: 0 / 0.9563 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of Templates: time 0.00337/0.2894, allocations: 1.023 MB / 0.9573 GB, free: 1.281 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,seed,t0,time,y