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.001531/0.001531, allocations: 114.7 kB / 17.6 MB, free: 4.66 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.002361/0.002361, allocations: 185.9 kB / 20.78 MB, free: 1.496 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.596/1.596, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.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.894/2.894, allocations: 476.7 MB / 0.7629 GB, free: 15.13 MB / 0.6075 GB " [Timeout remaining time 176] 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.002195/0.002195, allocations: 67.89 kB / 1.107 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.084/1.086, allocations: 168.7 MB / 1.271 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002513/1.088, allocations: 1.243 MB / 1.273 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009612/1.089, allocations: 465.7 kB / 1.273 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.667e-05/1.089, allocations: 0.7812 kB / 1.273 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.411e-05/1.089, allocations: 0 / 1.273 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.952e-05/1.089, allocations: 6.828 kB / 1.273 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005982/1.09, allocations: 109.9 kB / 1.273 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.562e-05/1.09, allocations: 21.38 kB / 1.273 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.655e-05/1.09, allocations: 2.969 kB / 1.273 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.049e-05/1.09, allocations: 14.53 kB / 1.273 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.463e-05/1.09, allocations: 9.766 kB / 1.273 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/1.09, allocations: 1.688 kB / 1.273 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002782/1.09, allocations: 123.3 kB / 1.273 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.051e-05/1.09, allocations: 8.875 kB / 1.273 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.324e-05/1.09, allocations: 7.5 kB / 1.273 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002245/1.091, allocations: 104.8 kB / 1.274 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/1.091, allocations: 0.875 kB / 1.274 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.174e-06/1.091, allocations: 0 / 1.274 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.554e-06/1.091, allocations: 0.7812 kB / 1.274 GB, free: 6.402 MB / 0.9981 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.0004713/1.091, allocations: 383.8 kB / 1.274 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/1.091, allocations: 9.812 kB / 1.274 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.148e-05/1.091, allocations: 37.75 kB / 1.274 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.943e-05/1.091, allocations: 3.562 kB / 1.274 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.188e-05/1.091, allocations: 171.2 kB / 1.274 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/1.091, allocations: 1.938 kB / 1.274 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/1.091, allocations: 3.125 kB / 1.274 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/1.092, allocations: 54.02 kB / 1.274 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/1.092, allocations: 3.938 kB / 1.274 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/1.092, allocations: 0 / 1.274 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/1.092, allocations: 0.7812 kB / 1.274 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.831e-05/1.092, allocations: 9.469 kB / 1.274 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002836/1.092, allocations: 247.5 kB / 1.274 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.233e-05/1.092, allocations: 34.98 kB / 1.274 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.623e-05/1.092, allocations: 19.3 kB / 1.274 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/1.092, allocations: 0 / 1.274 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001637/1.092, allocations: 65.8 kB / 1.275 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/1.092, allocations: 0.8438 kB / 1.275 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0002349/1.092, allocations: 84.56 kB / 1.275 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/1.092, allocations: 54.59 kB / 1.275 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.78e-05/1.092, allocations: 106.6 kB / 1.275 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.246e-06/1.093, allocations: 26.73 kB / 1.275 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.548e-05/1.093, allocations: 81.11 kB / 1.275 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/1.093, allocations: 24.8 kB / 1.275 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/1.093, allocations: 28.47 kB / 1.275 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.12e-05/1.093, allocations: 318.9 kB / 1.275 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.416e-05/1.093, allocations: 7.406 kB / 1.275 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.088e-05/1.093, allocations: 43.92 kB / 1.275 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.87e-05/1.093, allocations: 63.59 kB / 1.275 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.093, allocations: 4.844 kB / 1.275 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001108/1.093, allocations: 76.81 kB / 1.275 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/1.093, allocations: 5.562 kB / 1.275 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/1.093, allocations: 1.625 kB / 1.275 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/1.093, allocations: 1.969 kB / 1.275 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.169e-05/1.093, allocations: 11.45 kB / 1.275 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/1.093, allocations: 8.875 kB / 1.275 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.058e-05/1.093, allocations: 10.83 kB / 1.275 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/1.093, allocations: 2.469 kB / 1.275 GB, free: 4.453 MB / 0.9981 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 5.898e-05/1.093, allocations: 119 kB / 1.276 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/1.093, allocations: 1.562 kB / 1.276 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.538e-05/1.093, allocations: 5 kB / 1.276 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/1.093, allocations: 3.453 kB / 1.276 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/1.093, allocations: 3.938 kB / 1.276 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/1.093, allocations: 4.844 kB / 1.276 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/1.093, allocations: 313.4 kB / 1.276 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/1.093, allocations: 0 / 1.276 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.416e-05/1.093, allocations: 5 kB / 1.276 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/1.093, allocations: 1.688 kB / 1.276 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/1.093, allocations: 4.969 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/1.093, allocations: 1 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/1.093, allocations: 0 / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/1.094, allocations: 175.1 kB / 1.276 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.21e-05/1.094, allocations: 78.14 kB / 1.276 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/1.094, allocations: 1.797 kB / 1.276 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.202e-05/1.094, allocations: 5.031 kB / 1.276 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.109e-05/1.094, allocations: 7.312 kB / 1.276 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/1.094, allocations: 1.844 kB / 1.276 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.755e-05/1.094, allocations: 80.92 kB / 1.276 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.094, allocations: 3.938 kB / 1.276 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003109/1.094, allocations: 39.3 kB / 1.276 GB, free: 3.648 MB / 0.9981 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.000645/1.095, allocations: 0.7796 MB / 1.277 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000141/1.095, allocations: 37.66 kB / 1.277 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/1.095, allocations: 4.969 kB / 1.277 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.907e-05/1.095, allocations: 23.81 kB / 1.277 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/1.095, allocations: 3.672 kB / 1.277 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/1.096, allocations: 1.326 MB / 1.278 GB, free: 17.64 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/1.096, allocations: 0.6794 MB / 1.279 GB, free: 16.94 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.703e-05/1.097, allocations: 5.828 kB / 1.279 GB, free: 16.94 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.173e-05/1.097, allocations: 10.06 kB / 1.279 GB, free: 16.93 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/1.097, allocations: 0.9688 kB / 1.279 GB, free: 16.93 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02708/1.124, allocations: 2.099 MB / 1.281 GB, free: 16.46 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.172/9.296, allocations: 8.297 kB / 1.281 GB, free: 16.46 MB / 1.014 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 --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.771591822995106]