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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 214.7 kB / 22.25 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.468/1.468, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.786/2.786, allocations: 476.7 MB / 0.7707 GB, free: 4.266 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 67.33 kB / 1.117 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3164, allocations: 170 MB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002304/0.3187, allocations: 1.261 MB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009625/0.3196, allocations: 480.2 kB / 1.285 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.339e-05/0.3197, allocations: 0 / 1.285 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.983e-05/0.3197, allocations: 0 / 1.285 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.554e-05/0.3197, allocations: 3.938 kB / 1.285 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005807/0.3203, allocations: 123.6 kB / 1.285 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.478e-05/0.3204, allocations: 23.92 kB / 1.285 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.635e-05/0.3204, allocations: 0 / 1.285 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.514e-05/0.3204, allocations: 11.94 kB / 1.285 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.016e-05/0.3205, allocations: 7.984 kB / 1.285 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.3205, allocations: 4 kB / 1.285 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003012/0.3208, allocations: 151.7 kB / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.007e-05/0.3208, allocations: 11.92 kB / 1.285 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.12e-05/0.3208, allocations: 11.94 kB / 1.285 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.321, allocations: 103.2 kB / 1.285 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.321, allocations: 0 / 1.285 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.062e-06/0.321, allocations: 4 kB / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.856e-06/0.321, allocations: 0 / 1.285 GB, free: 9.551 MB / 0.9825 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.000481/0.3215, allocations: 315.7 kB / 1.286 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.3216, allocations: 12.03 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.182e-05/0.3216, allocations: 30.75 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.883e-05/0.3216, allocations: 8.875 kB / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.494e-05/0.3217, allocations: 106.5 kB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.3218, allocations: 4.375 kB / 1.286 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.3218, allocations: 8.375 kB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.3219, allocations: 46.19 kB / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3219, allocations: 3.938 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/0.3219, allocations: 0 / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3219, allocations: 0 / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.99e-05/0.3219, allocations: 11.98 kB / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003162/0.3223, allocations: 220 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.472e-05/0.3223, allocations: 42.5 kB / 1.286 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.256e-05/0.3224, allocations: 16.98 kB / 1.286 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.3224, allocations: 0 / 1.286 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001588/0.3226, allocations: 59.39 kB / 1.286 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.3226, allocations: 7.875 kB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0002356/0.3228, allocations: 85.56 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.3228, allocations: 59.41 kB / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.352e-05/0.3229, allocations: 106.1 kB / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.3229, allocations: 25.7 kB / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.249e-05/0.323, allocations: 84.12 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.323, allocations: 19.84 kB / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/0.323, allocations: 21.72 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.3232, allocations: 318.8 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.191e-05/0.3232, allocations: 4 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.156e-05/0.3233, allocations: 48.28 kB / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.621e-05/0.3233, allocations: 60.22 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.3233, allocations: 3.938 kB / 1.287 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001256/0.3235, allocations: 85.5 kB / 1.287 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.3235, allocations: 8 kB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3235, allocations: 0 / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.3235, allocations: 0 / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.705e-05/0.3236, allocations: 15.98 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.3236, allocations: 3.938 kB / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.117e-05/0.3236, allocations: 8 kB / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.3236, allocations: 0 / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$outputAlias_y,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 8.49e-05/0.3237, allocations: 121.9 kB / 1.287 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/0.3237, allocations: 4 kB / 1.287 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.088e-05/0.3237, allocations: 4.062 kB / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.3237, allocations: 0 / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3237, allocations: 3.984 kB / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3237, allocations: 0 / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002883/0.324, allocations: 285.5 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.324, allocations: 0 / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.449e-05/0.324, allocations: 4 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.324, allocations: 4 kB / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.324, allocations: 4 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3241, allocations: 192 / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.3241, allocations: 0 / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.3242, allocations: 171.7 kB / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.109e-05/0.3242, allocations: 11.83 kB / 1.288 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.3242, allocations: 8.062 kB / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.46e-05/0.3243, allocations: 4 kB / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.543e-05/0.3243, allocations: 7.922 kB / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.3243, allocations: 8 kB / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.187e-05/0.3244, allocations: 79.28 kB / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3244, allocations: 0 / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002925/0.3247, allocations: 39.86 kB / 1.288 GB, free: 6.684 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: 4 ($whenCondition1,y,$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.0007605/0.3254, allocations: 0.782 MB / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001245/0.3256, allocations: 31.92 kB / 1.289 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.3256, allocations: 0 / 1.289 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.671e-05/0.3256, allocations: 23.92 kB / 1.289 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.3258, allocations: 0 / 1.289 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.327, allocations: 1.318 MB / 1.29 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.3273, allocations: 0.6807 MB / 1.291 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.783e-05/0.3273, allocations: 11.98 kB / 1.291 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.845e-05/0.3273, allocations: 15.38 kB / 1.291 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.3273, allocations: 0 / 1.291 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0284/0.3557, allocations: 2.288 MB / 1.293 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.22, allocations: 7.031 kB / 1.293 GB, free: 1.531 MB / 0.9825 GB " [Timeout remaining time 288] (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: 17.940210341999773]