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.001477/0.001477, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00181/0.00181, allocations: 192.6 kB / 16.25 MB, free: 6.621 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.461/1.461, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.476/2.476, allocations: 390.2 MB / 0.6643 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 63.89 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7326/0.7342, allocations: 140.4 MB / 0.9491 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001982/0.7362, allocations: 1.279 MB / 0.9503 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006166/0.7369, allocations: 409.7 kB / 0.9507 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.864e-05/0.7369, allocations: 4 kB / 0.9507 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.631e-05/0.7369, allocations: 4.969 kB / 0.9507 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.758e-05/0.737, allocations: 0 / 0.9507 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004339/0.7374, allocations: 93.81 kB / 0.9508 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.58e-05/0.7375, allocations: 16.73 kB / 0.9508 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.994e-05/0.7376, allocations: 1.094 kB / 0.9508 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.111e-05/0.7376, allocations: 8.688 kB / 0.9508 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.49e-05/0.7376, allocations: 14.81 kB / 0.9509 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.7376, allocations: 1.312 kB / 0.9509 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/0.7378, allocations: 97.84 kB / 0.951 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.443e-05/0.7378, allocations: 13.2 kB / 0.951 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.59e-05/0.7378, allocations: 7.75 kB / 0.951 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.738, allocations: 89.81 kB / 0.9511 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.738, allocations: 0 / 0.9511 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.365e-06/0.738, allocations: 5.359 kB / 0.9511 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.738, allocations: 0 / 0.9511 GB, free: 7.605 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.0003521/0.7384, allocations: 378.6 kB / 0.9514 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.7384, allocations: 9.906 kB / 0.9514 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.44e-05/0.7385, allocations: 6.484 kB / 0.9514 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.679e-05/0.7385, allocations: 173.6 kB / 0.9516 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.7386, allocations: 1.719 kB / 0.9516 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.7386, allocations: 2.75 kB / 0.9516 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.147e-05/0.7387, allocations: 39.94 kB / 0.9517 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.7387, allocations: 192 / 0.9517 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.7387, allocations: 7.875 kB / 0.9517 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.7387, allocations: 5.125 kB / 0.9517 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.981e-05/0.7387, allocations: 7.047 kB / 0.9517 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001037/0.7389, allocations: 160.7 kB / 0.9518 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.073e-05/0.7389, allocations: 38.67 kB / 0.9519 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.695e-05/0.739, allocations: 9.984 kB / 0.9519 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.984e-06/0.739, allocations: 1.094 kB / 0.9519 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001179/0.7391, allocations: 51.44 kB / 0.9519 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.7391, allocations: 1.562 kB / 0.9519 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001773/0.7393, allocations: 77.61 kB / 0.952 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.202e-05/0.7393, allocations: 51.41 kB / 0.952 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.794e-05/0.7394, allocations: 104.3 kB / 0.9521 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.7394, allocations: 25.7 kB / 0.9522 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.942e-05/0.7394, allocations: 85.48 kB / 0.9522 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.617e-05/0.7394, allocations: 4.969 kB / 0.9523 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.7395, allocations: 23.98 kB / 0.9523 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.221e-05/0.7395, allocations: 316.1 kB / 0.9526 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.891e-05/0.7395, allocations: 12.59 kB / 0.9526 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.677e-05/0.7396, allocations: 37.78 kB / 0.9526 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.948e-05/0.7396, allocations: 44.5 kB / 0.9527 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7396, allocations: 0 / 0.9527 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.615e-05/0.7397, allocations: 78.61 kB / 0.9527 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.7397, allocations: 8.031 kB / 0.9528 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.7398, allocations: 1.984 kB / 0.9528 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.7398, allocations: 5.297 kB / 0.9528 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.44e-05/0.7398, allocations: 9.219 kB / 0.9528 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.7399, allocations: 2.562 kB / 0.9528 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.416e-05/0.7399, allocations: 1.188 kB / 0.9528 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.7399, allocations: 2.188 kB / 0.9528 GB, free: 5.773 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.838e-05/0.74, allocations: 120.5 kB / 0.9529 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.171e-05/0.74, allocations: 6.625 kB / 0.9529 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.076e-05/0.74, allocations: 3.5 kB / 0.9529 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.74, allocations: 1 kB / 0.9529 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.74, allocations: 0 / 0.9529 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.74, allocations: 1.344 kB / 0.9529 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.7401, allocations: 158.3 kB / 0.9531 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.7401, allocations: 0 / 0.9531 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.242e-05/0.7402, allocations: 1.188 kB / 0.9531 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.7402, allocations: 5.188 kB / 0.9531 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.7402, allocations: 11.92 kB / 0.9531 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.7402, allocations: 1.531 kB / 0.9531 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.7402, allocations: 0 / 0.9531 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.7403, allocations: 81.53 kB / 0.9531 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.92e-05/0.7403, allocations: 86.41 kB / 0.9532 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.7404, allocations: 5.344 kB / 0.9532 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.046e-05/0.7404, allocations: 0 / 0.9532 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.7404, allocations: 1.375 kB / 0.9532 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.7404, allocations: 5.438 kB / 0.9532 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.236e-05/0.7404, allocations: 87.45 kB / 0.9533 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7404, allocations: 0 / 0.9533 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002475/0.7407, allocations: 26.31 kB / 0.9533 GB, free: 5.148 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.000319/0.741, allocations: 167.8 kB / 0.9535 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001276/0.7412, allocations: 33.33 kB / 0.9535 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.7412, allocations: 0 / 0.9535 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.904e-05/0.7412, allocations: 20.83 kB / 0.9536 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001332/0.7413, allocations: 3.109 kB / 0.9536 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002115/0.7416, allocations: 110.2 kB / 0.9537 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.7417, allocations: 0.681 MB / 0.9543 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.052e-05/0.7417, allocations: 6.781 kB / 0.9543 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.463e-05/0.7417, allocations: 8.688 kB / 0.9543 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7417, allocations: 0 / 0.9543 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of Templates: time 0.003416/0.7452, allocations: 1.03 MB / 0.9554 GB, free: 3.629 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