Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001378/0.001378, allocations: 109.2 kB / 16.46 MB, free: 6.504 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.001547/0.001547, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.417/1.417, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.729/2.729, allocations: 476.7 MB / 0.7611 GB, free: 11.34 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 71.88 kB / 1.104 GB, free: 9.328 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7691/0.7712, allocations: 168.7 MB / 1.269 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002799/0.774, allocations: 1.229 MB / 1.27 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000981/0.775, allocations: 454.5 kB / 1.27 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.242e-05/0.775, allocations: 0 / 1.27 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.878e-05/0.775, allocations: 3.938 kB / 1.27 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.165e-05/0.775, allocations: 3.984 kB / 1.27 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005823/0.7756, allocations: 111.6 kB / 1.27 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.37e-05/0.7757, allocations: 19.97 kB / 1.27 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.599e-05/0.7757, allocations: 7.984 kB / 1.27 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.522e-05/0.7758, allocations: 7.938 kB / 1.27 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.236e-05/0.7758, allocations: 19.92 kB / 1.271 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.09e-05/0.7758, allocations: 0 / 1.271 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002442/0.7761, allocations: 115.8 kB / 1.271 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.7761, allocations: 3.984 kB / 1.271 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.311e-05/0.7761, allocations: 15.92 kB / 1.271 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.7763, allocations: 97.56 kB / 1.271 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.7763, allocations: 0 / 1.271 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.442e-06/0.7763, allocations: 0 / 1.271 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.7763, allocations: 0 / 1.271 GB, free: 3.125 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005686/0.7769, allocations: 404.7 kB / 1.271 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.7769, allocations: 8.031 kB / 1.271 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.4e-05/0.777, allocations: 38.69 kB / 1.271 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.551e-05/0.777, allocations: 0.9375 kB / 1.271 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.7772, allocations: 172.3 kB / 1.271 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.7772, allocations: 384 / 1.271 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.7772, allocations: 8.375 kB / 1.271 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.7773, allocations: 46.19 kB / 1.271 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.7774, allocations: 3.938 kB / 1.271 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.7774, allocations: 3.984 kB / 1.271 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.7774, allocations: 4 kB / 1.271 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.039e-05/0.7774, allocations: 7.984 kB / 1.271 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003809/0.7778, allocations: 248.9 kB / 1.272 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.366e-05/0.7779, allocations: 30.52 kB / 1.272 GB, free: 2 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.857e-05/0.7779, allocations: 20.97 kB / 1.272 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.434e-06/0.7779, allocations: 0 / 1.272 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001818/0.7781, allocations: 63.39 kB / 1.272 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.7781, allocations: 0 / 1.272 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0002427/0.7784, allocations: 77.62 kB / 1.272 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.7784, allocations: 59.39 kB / 1.272 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.53e-05/0.7785, allocations: 102.1 kB / 1.272 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.7785, allocations: 29.7 kB / 1.272 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.858e-05/0.7786, allocations: 92.09 kB / 1.272 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.7786, allocations: 19.83 kB / 1.272 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-05/0.7786, allocations: 21.72 kB / 1.272 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.7788, allocations: 314.8 kB / 1.272 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.541e-05/0.7788, allocations: 12 kB / 1.272 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.29e-05/0.7789, allocations: 44.22 kB / 1.272 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.005e-05/0.779, allocations: 56.23 kB / 1.273 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.779, allocations: 3.938 kB / 1.273 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001276/0.7791, allocations: 81.61 kB / 1.273 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.7791, allocations: 4 kB / 1.273 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.7791, allocations: 0 / 1.273 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.7791, allocations: 12.03 kB / 1.273 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.963e-05/0.7792, allocations: 11.98 kB / 1.273 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.7792, allocations: 0 / 1.273 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.007e-05/0.7792, allocations: 8.141 kB / 1.273 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.7793, allocations: 4 kB / 1.273 GB, free: 0.8789 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (curSeed,$PRE.curSeed,$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 (9): * Single equations (assignments): 9 * 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 9.941e-05/0.7793, allocations: 121.7 kB / 1.273 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.15e-05/0.7794, allocations: 0 / 1.273 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.383e-05/0.7794, allocations: 7.969 kB / 1.273 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.7794, allocations: 4 kB / 1.273 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.7794, allocations: 11.88 kB / 1.273 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.7794, allocations: 0 / 1.273 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003467/0.7798, allocations: 314.5 kB / 1.273 GB, free: 364 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.7798, allocations: 0 / 1.273 GB, free: 364 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.779e-05/0.7798, allocations: 7.984 kB / 1.273 GB, free: 356 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.7798, allocations: 96 / 1.273 GB, free: 356 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.7798, allocations: 3.984 kB / 1.273 GB, free: 352 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.7798, allocations: 0 / 1.273 GB, free: 352 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.7798, allocations: 0 / 1.273 GB, free: 352 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.78, allocations: 179.7 kB / 1.273 GB, free: 156 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.756e-05/0.78, allocations: 81.11 kB / 1.273 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.7801, allocations: 4.062 kB / 1.273 GB, free: 52 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.306e-05/0.7801, allocations: 0 / 1.273 GB, free: 52 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.692e-05/0.7801, allocations: 4 kB / 1.273 GB, free: 48 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.7802, allocations: 3.984 kB / 1.273 GB, free: 44 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.551e-05/0.7802, allocations: 83.28 kB / 1.273 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.7802, allocations: 0 / 1.273 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003027/0.7805, allocations: 43.86 kB / 1.273 GB, free: 15.92 MB / 0.9825 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,$outputAlias_y,curSeed) * Number of discrete states: 0 () * 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.0008709/0.7814, allocations: 0.7733 MB / 1.274 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001327/0.7815, allocations: 39.92 kB / 1.274 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.7815, allocations: 0 / 1.274 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.597e-05/0.7816, allocations: 15.98 kB / 1.274 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.7818, allocations: 6.188 kB / 1.274 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.7831, allocations: 1.316 MB / 1.276 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.7835, allocations: 0.6823 MB / 1.276 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.515e-05/0.7835, allocations: 4 kB / 1.276 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.412e-05/0.7835, allocations: 19.42 kB / 1.276 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.7835, allocations: 0 / 1.276 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0268/0.8103, allocations: 2.125 MB / 1.278 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.27/9.08, allocations: 3.688 kB / 1.278 GB, free: 10.89 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit2D_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit2D.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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,seed,time,x1,x2,y [Calling sys.exit(0), Time elapsed: 15.20592985721305]