Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.001656/0.001656, allocations: 108.2 kB / 16.46 MB, free: 6.035 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.001654/0.001654, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.427/1.427, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.142/3.142, allocations: 497.2 MB / 0.7811 GB, free: 33.79 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 71 kB / 1.134 GB, free: 33.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3617, allocations: 173.9 MB / 1.304 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.0023/0.364, allocations: 1.233 MB / 1.305 GB, free: 316 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009464/0.3649, allocations: 470.7 kB / 1.306 GB, free: 15.85 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.662e-05/0.3649, allocations: 0 / 1.306 GB, free: 15.85 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 7.996e-05/0.365, allocations: 3.938 kB / 1.306 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.418e-05/0.365, allocations: 11.94 kB / 1.306 GB, free: 15.83 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004845/0.3655, allocations: 99.64 kB / 1.306 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.085e-05/0.3656, allocations: 27.91 kB / 1.306 GB, free: 15.71 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.666e-05/0.3657, allocations: 4 kB / 1.306 GB, free: 15.7 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.022e-05/0.3657, allocations: 15.92 kB / 1.306 GB, free: 15.69 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.301e-05/0.3657, allocations: 7.938 kB / 1.306 GB, free: 15.68 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.3657, allocations: 0 / 1.306 GB, free: 15.68 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002441/0.366, allocations: 119.8 kB / 1.306 GB, free: 15.56 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.659e-05/0.366, allocations: 23.92 kB / 1.306 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.472e-05/0.3661, allocations: 31.67 kB / 1.306 GB, free: 15.51 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002698/0.3664, allocations: 143.7 kB / 1.306 GB, free: 15.37 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3664, allocations: 0 / 1.306 GB, free: 15.37 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3664, allocations: 0 / 1.306 GB, free: 15.37 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.3664, allocations: 0 / 1.306 GB, free: 15.37 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007052/0.3671, allocations: 453.4 kB / 1.306 GB, free: 14.87 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.3671, allocations: 8.922 kB / 1.306 GB, free: 14.86 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.135e-05/0.3672, allocations: 46.73 kB / 1.307 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.3673, allocations: 16.83 kB / 1.307 GB, free: 14.79 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.3675, allocations: 180.2 kB / 1.307 GB, free: 14.57 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.3675, allocations: 8.375 kB / 1.307 GB, free: 14.57 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.3675, allocations: 8.312 kB / 1.307 GB, free: 14.56 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002296/0.3678, allocations: 146.2 kB / 1.307 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.3678, allocations: 3.938 kB / 1.307 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.3678, allocations: 0 / 1.307 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.3678, allocations: 4 kB / 1.307 GB, free: 14.4 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.872e-05/0.3679, allocations: 67.73 kB / 1.307 GB, free: 14.34 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004332/0.3683, allocations: 284.8 kB / 1.307 GB, free: 14.01 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.3685, allocations: 98.42 kB / 1.307 GB, free: 13.9 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.541e-05/0.3686, allocations: 81.45 kB / 1.307 GB, free: 13.82 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.3686, allocations: 4 kB / 1.307 GB, free: 13.82 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000318/0.3689, allocations: 172.3 kB / 1.308 GB, free: 13.63 MB / 1.014 GB Notification: Performance of pre-optimization done (n=39): time 1.163e-06/0.3689, allocations: 0 / 1.308 GB, free: 13.63 MB / 1.014 GB Notification: Performance of matching and sorting (n=39): time 0.0007594/0.3696, allocations: 0.5071 MB / 1.308 GB, free: 13.12 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.399e-05/0.3697, allocations: 83.38 kB / 1.308 GB, free: 13.03 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.3699, allocations: 125.7 kB / 1.308 GB, free: 12.89 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.223e-05/0.3699, allocations: 49.69 kB / 1.308 GB, free: 12.84 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.777e-05/0.37, allocations: 89.14 kB / 1.308 GB, free: 12.75 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.3701, allocations: 107.2 kB / 1.308 GB, free: 12.64 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.3702, allocations: 85.69 kB / 1.309 GB, free: 12.55 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.3704, allocations: 338.8 kB / 1.309 GB, free: 12.21 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/0.3706, allocations: 148.6 kB / 1.309 GB, free: 12.07 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002818/0.3709, allocations: 218.1 kB / 1.309 GB, free: 11.83 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005198/0.3714, allocations: 420.6 kB / 1.31 GB, free: 11.4 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.56e-05/0.3714, allocations: 8.234 kB / 1.31 GB, free: 11.39 MB / 1.014 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005678/0.372, allocations: 444.8 kB / 1.31 GB, free: 10.95 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.372, allocations: 4 kB / 1.31 GB, free: 10.95 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.372, allocations: 8 kB / 1.31 GB, free: 10.94 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.372, allocations: 8.156 kB / 1.31 GB, free: 10.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.3721, allocations: 23.92 kB / 1.31 GB, free: 10.91 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.3721, allocations: 7.938 kB / 1.31 GB, free: 10.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.153e-05/0.3722, allocations: 35.67 kB / 1.31 GB, free: 10.86 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.3722, allocations: 12 kB / 1.31 GB, free: 10.85 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 71 (state[33],$PRE.state[33],state[32],$PRE.state[32],state[31],$PRE.state[31],state[30],$PRE.state[30],state[29],$PRE.state[29],state[28],$PRE.state[28],state[27],$PRE.state[27],state[26],$PRE.state[26],state[25],$PRE.state[25],state[24],$PRE.state[24],state[23],$PRE.state[23],state[22],$PRE.state[22],state[21],$PRE.state[21],state[20],$PRE.state[20],state[19],$PRE.state[19],state[18],$PRE.state[18],state[17],$PRE.state[17],state[16],$PRE.state[16],state[15],$PRE.state[15],state[14],$PRE.state[14],state[13],$PRE.state[13],state[12],$PRE.state[12],state[11],$PRE.state[11],state[10],$PRE.state[10],state[9],$PRE.state[9],state[8],$PRE.state[8],state[7],$PRE.state[7],state[6],$PRE.state[6],state[5],$PRE.state[5],state[4],$PRE.state[4],state[3],$PRE.state[3],state[2],$PRE.state[2],state[1],$PRE.state[1],r,$PRE.r,$whenCondition1,$outputAlias_y,$PRE.$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * Array equations: 1 * 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.0001836/0.3724, allocations: 189.7 kB / 1.31 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.101e-05/0.3724, allocations: 11.91 kB / 1.31 GB, free: 10.65 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.09e-05/0.3725, allocations: 9.625 kB / 1.31 GB, free: 10.63 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3725, allocations: 0 / 1.31 GB, free: 10.63 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.3725, allocations: 0 / 1.31 GB, free: 10.63 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3725, allocations: 3.984 kB / 1.31 GB, free: 10.63 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007084/0.3732, allocations: 0.6408 MB / 1.311 GB, free: 9.934 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3732, allocations: 3.938 kB / 1.311 GB, free: 9.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.603e-05/0.3732, allocations: 11.98 kB / 1.311 GB, free: 9.918 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3732, allocations: 0 / 1.311 GB, free: 9.918 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.3732, allocations: 0 / 1.311 GB, free: 9.918 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.3732, allocations: 4 kB / 1.311 GB, free: 9.914 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3732, allocations: 3.938 kB / 1.311 GB, free: 9.91 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005676/0.3738, allocations: 493.2 kB / 1.312 GB, free: 9.41 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.251e-05/0.3739, allocations: 96.89 kB / 1.312 GB, free: 9.297 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.742e-05/0.3739, allocations: 23.98 kB / 1.312 GB, free: 9.273 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.801e-05/0.374, allocations: 8 kB / 1.312 GB, free: 9.266 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.3e-05/0.374, allocations: 0 / 1.312 GB, free: 9.266 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.374, allocations: 4 kB / 1.312 GB, free: 9.262 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.694e-05/0.3741, allocations: 83.27 kB / 1.312 GB, free: 9.18 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3741, allocations: 0 / 1.312 GB, free: 9.18 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000373/0.3744, allocations: 55.88 kB / 1.312 GB, free: 9.125 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition1,$outputAlias_y,state[1],state[2],state[3],state[4],state[5],state[6],state[7],state[8],state[9],state[10],state[11],state[12],state[13],state[14],state[15],state[16],state[17],state[18],state[19],state[20],state[21],state[22],state[23],state[24],state[25],state[26],state[27],state[28],state[29],state[30],state[31],state[32],state[33],r) * Number of discrete states: 33 (state[1],state[2],state[3],state[4],state[5],state[6],state[7],state[8],state[9],state[10],state[11],state[12],state[13],state[14],state[15],state[16],state[17],state[18],state[19],state[20],state[21],state[22],state[23],state[24],state[25],state[26],state[27],state[28],state[29],state[30],state[31],state[32],state[33]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.001414/0.3758, allocations: 1.264 MB / 1.313 GB, free: 7.852 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003946/0.3762, allocations: 268.9 kB / 1.313 GB, free: 7.59 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.3762, allocations: 8.312 kB / 1.313 GB, free: 7.582 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 9.88e-05/0.3763, allocations: 79.91 kB / 1.313 GB, free: 7.504 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.3766, allocations: 5.547 kB / 1.313 GB, free: 7.5 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002728/0.3793, allocations: 2.542 MB / 1.316 GB, free: 4.844 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.3796, allocations: 0.7168 MB / 1.317 GB, free: 4.102 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.266e-05/0.3797, allocations: 21.08 kB / 1.317 GB, free: 4.082 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.423e-05/0.3797, allocations: 39.42 kB / 1.317 GB, free: 4.043 MB / 1.014 GB Notification: Performance of SimCode: time 4.81e-07/0.3797, allocations: 0 / 1.317 GB, free: 4.043 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02631/0.406, allocations: 3.276 MB / 1.32 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.084/8.491, allocations: 5.812 kB / 1.32 GB, free: 0.8633 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit2D_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit2D.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.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,C,globalSeed,localSeed,time,x1,x2,y [Calling sys.exit(0), Time elapsed: 15.168690550141037]