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.001497/0.001497, allocations: 105.7 kB / 17.54 MB, free: 4.746 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.00154/0.00154, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.317/1.317, allocations: 225.6 MB / 249.3 MB, free: 3.176 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.509/2.509, allocations: 476.7 MB / 0.7628 GB, free: 15.25 MB / 0.6075 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.001893/0.001893, allocations: 67.89 kB / 1.107 GB, free: 5.18 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8/0.8019, allocations: 168.7 MB / 1.271 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.001801/0.8037, allocations: 1.251 MB / 1.273 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006878/0.8044, allocations: 458.8 kB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.183e-05/0.8044, allocations: 0.75 kB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.666e-05/0.8045, allocations: 3.938 kB / 1.273 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.998e-05/0.8045, allocations: 0.75 kB / 1.273 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004295/0.8049, allocations: 117.2 kB / 1.273 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.058e-05/0.805, allocations: 18.3 kB / 1.273 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.27e-05/0.805, allocations: 6.094 kB / 1.273 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.961e-05/0.805, allocations: 10.88 kB / 1.273 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.764e-05/0.8051, allocations: 13.33 kB / 1.273 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.8051, allocations: 1.875 kB / 1.273 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002111/0.8053, allocations: 119.8 kB / 1.273 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.366e-05/0.8053, allocations: 3.344 kB / 1.273 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.521e-05/0.8053, allocations: 12.27 kB / 1.273 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.8055, allocations: 98.8 kB / 1.273 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.8055, allocations: 0 / 1.273 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8055, allocations: 0.9688 kB / 1.273 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.8055, allocations: 3.938 kB / 1.273 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.0003362/0.8058, allocations: 391.2 kB / 1.274 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.8059, allocations: 9.281 kB / 1.274 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.309e-05/0.8059, allocations: 38.56 kB / 1.274 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.416e-05/0.8059, allocations: 3.281 kB / 1.274 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.853e-05/0.806, allocations: 167.3 kB / 1.274 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.806, allocations: 2.344 kB / 1.274 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-06/0.806, allocations: 6.125 kB / 1.274 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.127e-05/0.8061, allocations: 43.98 kB / 1.274 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.8061, allocations: 7.938 kB / 1.274 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.8061, allocations: 5 kB / 1.274 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.8061, allocations: 2.203 kB / 1.274 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.278e-05/0.8062, allocations: 13.41 kB / 1.274 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002154/0.8064, allocations: 245.4 kB / 1.274 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.737e-05/0.8064, allocations: 32.66 kB / 1.274 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.553e-05/0.8065, allocations: 19.28 kB / 1.274 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.827e-06/0.8065, allocations: 0 / 1.274 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001089/0.8066, allocations: 66.38 kB / 1.274 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.8066, allocations: 0 / 1.274 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0001868/0.8068, allocations: 76.7 kB / 1.274 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/0.8068, allocations: 54.39 kB / 1.275 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.38e-05/0.8068, allocations: 105.4 kB / 1.275 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.334e-06/0.8068, allocations: 32.56 kB / 1.275 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.595e-05/0.8069, allocations: 85.23 kB / 1.275 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.409e-05/0.8069, allocations: 20.16 kB / 1.275 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.8069, allocations: 26.45 kB / 1.275 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.214e-05/0.8069, allocations: 313 kB / 1.275 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.321e-05/0.807, allocations: 13.09 kB / 1.275 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.869e-05/0.807, allocations: 46.11 kB / 1.275 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.179e-05/0.807, allocations: 60.7 kB / 1.275 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.807, allocations: 4.875 kB / 1.275 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.601e-05/0.8071, allocations: 85.2 kB / 1.275 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.8072, allocations: 10 kB / 1.275 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.8072, allocations: 1.406 kB / 1.275 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.8072, allocations: 1.719 kB / 1.275 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.636e-05/0.8072, allocations: 9.594 kB / 1.275 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.8072, allocations: 1.719 kB / 1.275 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.581e-05/0.8073, allocations: 5.734 kB / 1.275 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.8073, allocations: 4.578 kB / 1.275 GB, free: 4.457 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 4.083e-05/0.8073, allocations: 121.8 kB / 1.275 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.091e-05/0.8073, allocations: 2.688 kB / 1.275 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.115e-05/0.8073, allocations: 12.78 kB / 1.275 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.8073, allocations: 4.781 kB / 1.275 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.8073, allocations: 2.484 kB / 1.275 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.644e-06/0.8073, allocations: 1.219 kB / 1.275 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.8075, allocations: 304.8 kB / 1.276 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.8075, allocations: 4.969 kB / 1.276 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.136e-05/0.8075, allocations: 4.031 kB / 1.276 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.8075, allocations: 0.9062 kB / 1.276 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.8075, allocations: 4.875 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.8075, allocations: 2.172 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.8075, allocations: 7.938 kB / 1.276 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001108/0.8077, allocations: 169.8 kB / 1.276 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.324e-05/0.8077, allocations: 79.41 kB / 1.276 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.8077, allocations: 0.875 kB / 1.276 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.776e-05/0.8077, allocations: 0.9375 kB / 1.276 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.621e-05/0.8077, allocations: 3.844 kB / 1.276 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.8078, allocations: 3.766 kB / 1.276 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.94e-05/0.8078, allocations: 91.28 kB / 1.276 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5e-08/0.8078, allocations: 0 / 1.276 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002608/0.808, allocations: 40.19 kB / 1.276 GB, free: 3.645 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.0004863/0.8085, allocations: 0.7775 MB / 1.277 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001083/0.8086, allocations: 32.48 kB / 1.277 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.8086, allocations: 4.812 kB / 1.277 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.871e-05/0.8087, allocations: 12.08 kB / 1.277 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/0.8089, allocations: 15.48 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.0008019/0.8097, allocations: 1.32 MB / 1.278 GB, free: 17.64 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.8099, allocations: 0.6783 MB / 1.279 GB, free: 16.95 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.908e-05/0.8099, allocations: 4.547 kB / 1.279 GB, free: 16.95 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.334e-05/0.81, allocations: 18.45 kB / 1.279 GB, free: 16.93 MB / 1.014 GB Notification: Performance of SimCode: time 2.8e-07/0.81, allocations: 0.8125 kB / 1.279 GB, free: 16.93 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02462/0.8346, allocations: 2.098 MB / 1.281 GB, free: 16.46 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.074/7.908, allocations: 9.406 kB / 1.281 GB, free: 16.45 MB / 1.014 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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:time,y [Calling sys.exit(0), Time elapsed: 13.319879189002677]