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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_11_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.001081/0.00108, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.01171/0.01171, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.579/1.579, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.223/3.223, allocations: 470.6 MB / 0.7441 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004725/0.0004726, allocations: 11.42 kB / 0.9122 GB, free: 34.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3539, allocations: 161.4 MB / 1.07 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001727/0.3556, allocations: 0.9509 MB / 1.071 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.3567, allocations: 416.7 kB / 1.071 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.141e-05/0.3567, allocations: 0 / 1.071 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.529e-05/0.3568, allocations: 4 kB / 1.071 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.04e-05/0.3568, allocations: 4 kB / 1.071 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000566/0.3574, allocations: 83.8 kB / 1.071 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.916e-05/0.3575, allocations: 23.86 kB / 1.071 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.228e-05/0.3576, allocations: 3.984 kB / 1.071 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.88e-05/0.3576, allocations: 7.938 kB / 1.071 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.456e-05/0.3576, allocations: 7.984 kB / 1.071 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.3577, allocations: 0 / 1.071 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002698/0.3579, allocations: 99.84 kB / 1.071 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.435e-05/0.358, allocations: 7.938 kB / 1.071 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.191e-05/0.358, allocations: 37.69 kB / 1.071 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.3583, allocations: 91.81 kB / 1.072 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3583, allocations: 0 / 1.072 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3583, allocations: 0 / 1.072 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.207e-06/0.3583, allocations: 0 / 1.072 GB, free: 9.684 MB / 0.8262 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.0006887/0.359, allocations: 377.5 kB / 1.072 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.3591, allocations: 12.03 kB / 1.072 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.943e-05/0.3591, allocations: 4.844 kB / 1.072 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.3593, allocations: 160.4 kB / 1.072 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.393e-05/0.3594, allocations: 8.375 kB / 1.072 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.3594, allocations: 384 / 1.072 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.3595, allocations: 38.25 kB / 1.072 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.3595, allocations: 4.125 kB / 1.072 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.3596, allocations: 7.922 kB / 1.072 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3596, allocations: 0 / 1.072 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.874e-05/0.3596, allocations: 8 kB / 1.072 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000218/0.3598, allocations: 153.7 kB / 1.072 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.252e-05/0.3599, allocations: 34.61 kB / 1.072 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.332e-05/0.36, allocations: 8.859 kB / 1.072 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.36, allocations: 0 / 1.072 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002043/0.3602, allocations: 59.42 kB / 1.072 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/0.3602, allocations: 0 / 1.072 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002348/0.3605, allocations: 65.62 kB / 1.072 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/0.3605, allocations: 63.39 kB / 1.073 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.318e-05/0.3606, allocations: 102 kB / 1.073 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.3607, allocations: 25.7 kB / 1.073 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.942e-05/0.3607, allocations: 88.05 kB / 1.073 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.3608, allocations: 15.88 kB / 1.073 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.3608, allocations: 13.72 kB / 1.073 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3609, allocations: 314.8 kB / 1.073 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.902e-05/0.361, allocations: 4 kB / 1.073 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.031e-05/0.361, allocations: 43.36 kB / 1.073 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.136e-05/0.3611, allocations: 43.38 kB / 1.073 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3611, allocations: 0 / 1.073 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000122/0.3612, allocations: 69.67 kB / 1.073 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.3613, allocations: 15.91 kB / 1.073 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.3613, allocations: 4 kB / 1.073 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.3613, allocations: 3.938 kB / 1.073 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.834e-05/0.3614, allocations: 4 kB / 1.073 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.3614, allocations: 4 kB / 1.073 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.62e-05/0.3614, allocations: 0 / 1.073 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.3614, allocations: 4 kB / 1.073 GB, free: 7.703 MB / 0.8262 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 0.0001125/0.3616, allocations: 125.7 kB / 1.073 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.523e-05/0.3616, allocations: 7.844 kB / 1.073 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.398e-05/0.3616, allocations: 11.5 kB / 1.073 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.3616, allocations: 0 / 1.073 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.3616, allocations: 0 / 1.073 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.3616, allocations: 4 kB / 1.073 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.3618, allocations: 153.7 kB / 1.074 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3618, allocations: 0 / 1.074 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.247e-05/0.3618, allocations: 0 / 1.074 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.3618, allocations: 3.938 kB / 1.074 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.3619, allocations: 7.984 kB / 1.074 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3619, allocations: 0 / 1.074 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3619, allocations: 4 kB / 1.074 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/0.362, allocations: 81.06 kB / 1.074 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.745e-05/0.3621, allocations: 81.09 kB / 1.074 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.3621, allocations: 7.938 kB / 1.074 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.372e-05/0.3621, allocations: 4 kB / 1.074 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.913e-05/0.3622, allocations: 0 / 1.074 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.3622, allocations: 4 kB / 1.074 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.565e-05/0.3622, allocations: 83.27 kB / 1.074 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3622, allocations: 0 / 1.074 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002773/0.3625, allocations: 32 kB / 1.074 GB, free: 7.008 MB / 0.8262 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.0004224/0.3629, allocations: 163.6 kB / 1.074 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001202/0.3631, allocations: 27.92 kB / 1.074 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3631, allocations: 8.188 kB / 1.074 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.917e-05/0.3631, allocations: 15.98 kB / 1.074 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.3633, allocations: 1.25 kB / 1.074 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002862/0.3636, allocations: 118.7 kB / 1.074 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.3639, allocations: 0.677 MB / 1.075 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.802e-05/0.364, allocations: 4 kB / 1.075 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.608e-05/0.364, allocations: 7.438 kB / 1.075 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of SimCode: time 5.41e-07/0.364, allocations: 4 kB / 1.075 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of Templates: time 0.004148/0.3681, allocations: 1.004 MB / 1.076 GB, free: 4.934 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile (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 & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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