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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001155/0.001154, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001239/0.001239, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.375/1.375, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.36/2.36, allocations: 390.2 MB / 0.6642 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 55.91 kB / 0.8118 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6807/0.682, allocations: 140.4 MB / 0.9489 GB, free: 9.293 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002073/0.6841, allocations: 1.281 MB / 0.9502 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007612/0.6849, allocations: 431.4 kB / 0.9506 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.375e-05/0.6849, allocations: 4 kB / 0.9506 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.946e-05/0.6849, allocations: 3.938 kB / 0.9506 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.544e-05/0.685, allocations: 0 / 0.9506 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004327/0.6855, allocations: 87.5 kB / 0.9507 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.297e-05/0.6855, allocations: 12.81 kB / 0.9507 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.871e-05/0.6856, allocations: 1.375 kB / 0.9507 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.325e-05/0.6856, allocations: 13.52 kB / 0.9507 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.502e-05/0.6856, allocations: 6 kB / 0.9507 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.6856, allocations: 2.031 kB / 0.9507 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.6858, allocations: 103.4 kB / 0.9508 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.567e-05/0.6858, allocations: 9.359 kB / 0.9508 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.169e-05/0.6859, allocations: 6.781 kB / 0.9508 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001597/0.686, allocations: 102.5 kB / 0.9509 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.6861, allocations: 0 / 0.9509 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6861, allocations: 0 / 0.9509 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.6861, allocations: 5.438 kB / 0.9509 GB, free: 7.742 MB / 0.7169 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.0003633/0.6864, allocations: 380.2 kB / 0.9513 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.6865, allocations: 9.469 kB / 0.9513 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.083e-05/0.6865, allocations: 6.625 kB / 0.9513 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.317e-05/0.6866, allocations: 161.7 kB / 0.9514 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.6866, allocations: 2.062 kB / 0.9514 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.6866, allocations: 1.969 kB / 0.9514 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.584e-05/0.6867, allocations: 43.23 kB / 0.9515 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.6867, allocations: 192 / 0.9515 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.6867, allocations: 5.469 kB / 0.9515 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.6868, allocations: 0 / 0.9515 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.791e-05/0.6868, allocations: 2.906 kB / 0.9515 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000101/0.6869, allocations: 170 kB / 0.9517 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.88e-05/0.687, allocations: 33.8 kB / 0.9517 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.764e-05/0.687, allocations: 13.95 kB / 0.9517 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.193e-06/0.687, allocations: 1.312 kB / 0.9517 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001234/0.6871, allocations: 55.42 kB / 0.9518 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.6872, allocations: 1.469 kB / 0.9518 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.000192/0.6874, allocations: 76.33 kB / 0.9518 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.333e-05/0.6874, allocations: 56.72 kB / 0.9519 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.942e-05/0.6874, allocations: 95.36 kB / 0.952 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.676e-06/0.6875, allocations: 30.95 kB / 0.952 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.802e-05/0.6875, allocations: 80.14 kB / 0.9521 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.6875, allocations: 10.61 kB / 0.9521 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/0.6875, allocations: 19.22 kB / 0.9521 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.108e-05/0.6876, allocations: 316.2 kB / 0.9524 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.6876, allocations: 12.11 kB / 0.9524 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.642e-05/0.6876, allocations: 30.31 kB / 0.9524 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.09e-05/0.6877, allocations: 48.67 kB / 0.9525 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6877, allocations: 4 kB / 0.9525 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.797e-05/0.6878, allocations: 72.75 kB / 0.9526 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.6878, allocations: 9.406 kB / 0.9526 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.6878, allocations: 1.062 kB / 0.9526 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.6878, allocations: 1.25 kB / 0.9526 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.64e-05/0.6879, allocations: 10.55 kB / 0.9526 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.6879, allocations: 1.094 kB / 0.9526 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.426e-05/0.6879, allocations: 6.031 kB / 0.9526 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.688, allocations: 2.094 kB / 0.9526 GB, free: 5.926 MB / 0.7169 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 5.264e-05/0.688, allocations: 116.9 kB / 0.9527 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.149e-05/0.688, allocations: 9.344 kB / 0.9527 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.929e-05/0.6881, allocations: 4.812 kB / 0.9527 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.6881, allocations: 0 / 0.9527 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.6881, allocations: 1.594 kB / 0.9527 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.6881, allocations: 0 / 0.9527 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.873e-05/0.6882, allocations: 157.7 kB / 0.9529 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6882, allocations: 3.984 kB / 0.9529 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.192e-05/0.6882, allocations: 2.781 kB / 0.9529 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.6882, allocations: 7.938 kB / 0.9529 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.6882, allocations: 1.672 kB / 0.9529 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.6882, allocations: 0 / 0.9529 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6882, allocations: 0 / 0.9529 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.6883, allocations: 90.38 kB / 0.953 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.938e-05/0.6884, allocations: 78.42 kB / 0.9531 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.6884, allocations: 5.125 kB / 0.9531 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.099e-05/0.6884, allocations: 4 kB / 0.9531 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.515e-05/0.6884, allocations: 6.719 kB / 0.9531 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.6884, allocations: 5.172 kB / 0.9531 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.291e-05/0.6885, allocations: 77.66 kB / 0.9531 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6885, allocations: 1.469 kB / 0.9531 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002572/0.6887, allocations: 30.19 kB / 0.9532 GB, free: 5.301 MB / 0.7169 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.0003533/0.6891, allocations: 180.1 kB / 0.9533 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001068/0.6892, allocations: 28.45 kB / 0.9534 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.6892, allocations: 0.5938 kB / 0.9534 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.82e-05/0.6893, allocations: 20.69 kB / 0.9534 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.6894, allocations: 1.562 kB / 0.9534 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002484/0.6897, allocations: 111 kB / 0.9535 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.6898, allocations: 0.678 MB / 0.9542 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.168e-05/0.6898, allocations: 7.031 kB / 0.9542 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.414e-05/0.6899, allocations: 12.7 kB / 0.9542 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of SimCode: time 2.01e-07/0.6899, allocations: 0 / 0.9542 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of Templates: time 0.00328/0.6931, allocations: 1.007 MB / 0.9552 GB, free: 3.785 MB / 0.7169 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 -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/jenkins/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