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.001308/0.001308, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.0017/0.0017, allocations: 215.4 kB / 22.99 MB, free: 4.945 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.774/2.774, allocations: 476 MB / 0.7707 GB, free: 4.672 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: translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D") [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.002142/0.002142, allocations: 67.47 kB / 1.118 GB, free: 40.95 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3325, allocations: 170 MB / 1.284 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.00238/0.3349, allocations: 1.251 MB / 1.285 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.3359, allocations: 440.5 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.603e-05/0.3359, allocations: 0 / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.084e-05/0.3359, allocations: 3.938 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.416e-05/0.3359, allocations: 0 / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005846/0.3365, allocations: 127.5 kB / 1.286 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.704e-05/0.3366, allocations: 19.92 kB / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.901e-05/0.3366, allocations: 7.938 kB / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.363e-05/0.3367, allocations: 7.984 kB / 1.286 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.467e-05/0.3367, allocations: 15.94 kB / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.3367, allocations: 0 / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002957/0.337, allocations: 147.8 kB / 1.286 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.738e-05/0.337, allocations: 3.984 kB / 1.286 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.904e-05/0.3371, allocations: 11.88 kB / 1.286 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.3373, allocations: 111.6 kB / 1.286 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3373, allocations: 0 / 1.286 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3373, allocations: 0 / 1.286 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.3373, allocations: 0 / 1.286 GB, free: 9.754 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.0004955/0.3378, allocations: 307.8 kB / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.3378, allocations: 16.02 kB / 1.286 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.404e-05/0.3378, allocations: 4.938 kB / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.3379, allocations: 118.4 kB / 1.286 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.338, allocations: 4.375 kB / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.338, allocations: 384 / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.3381, allocations: 42.25 kB / 1.286 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.3381, allocations: 192 / 1.286 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.3381, allocations: 3.938 kB / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.3381, allocations: 7.984 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.593e-05/0.3382, allocations: 7.938 kB / 1.286 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001458/0.3383, allocations: 109.4 kB / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.628e-05/0.3384, allocations: 26.58 kB / 1.286 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.892e-05/0.3384, allocations: 8.859 kB / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.3384, allocations: 4 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001694/0.3386, allocations: 59.48 kB / 1.287 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.3386, allocations: 0 / 1.287 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.000227/0.3388, allocations: 85.55 kB / 1.287 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.3389, allocations: 51.41 kB / 1.287 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.466e-05/0.339, allocations: 109.8 kB / 1.287 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.339, allocations: 25.7 kB / 1.287 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.198e-05/0.339, allocations: 84.14 kB / 1.287 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.3391, allocations: 15.94 kB / 1.287 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.3391, allocations: 17.72 kB / 1.287 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.3392, allocations: 322.8 kB / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.14e-05/0.3393, allocations: 4 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.926e-05/0.3393, allocations: 40.28 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.609e-05/0.3394, allocations: 56.17 kB / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3394, allocations: 4 kB / 1.287 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001186/0.3395, allocations: 77.56 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.3395, allocations: 4 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3395, allocations: 4 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.3395, allocations: 3.938 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.775e-05/0.3396, allocations: 11.94 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.3396, allocations: 4 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.183e-05/0.3397, allocations: 7.984 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.3397, allocations: 8.109 kB / 1.287 GB, free: 7.918 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: 5 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.684e-05/0.3398, allocations: 121.8 kB / 1.288 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.3398, allocations: 11.89 kB / 1.288 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.274e-05/0.3398, allocations: 7.688 kB / 1.288 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.3398, allocations: 4 kB / 1.288 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3398, allocations: 0 / 1.288 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.3398, allocations: 0.5 kB / 1.288 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.3399, allocations: 105.3 kB / 1.288 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3399, allocations: 0 / 1.288 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.112e-05/0.3399, allocations: 8 kB / 1.288 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.3399, allocations: 0 / 1.288 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.3399, allocations: 7.938 kB / 1.288 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3399, allocations: 3.938 kB / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3399, allocations: 4 kB / 1.288 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/0.3401, allocations: 89.11 kB / 1.288 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.037e-05/0.3401, allocations: 7.953 kB / 1.288 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.3401, allocations: 0 / 1.288 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.57e-05/0.3402, allocations: 3.938 kB / 1.288 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.817e-05/0.3402, allocations: 7.984 kB / 1.288 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.3402, allocations: 0 / 1.288 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.58e-05/0.3402, allocations: 83.28 kB / 1.288 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3402, allocations: 0 / 1.288 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002625/0.3405, allocations: 43.86 kB / 1.288 GB, free: 7.363 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,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0003834/0.3409, allocations: 160.3 kB / 1.288 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001237/0.341, allocations: 35.92 kB / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.341, allocations: 0 / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.225e-05/0.341, allocations: 12.19 kB / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.3412, allocations: 15.92 kB / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002781/0.3415, allocations: 138.6 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.28e-05/0.3415, allocations: 63.34 kB / 1.288 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.99e-05/0.3415, allocations: 7.438 kB / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.3415, allocations: 0 / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of Templates: time 0.00332/0.3449, allocations: 1.339 MB / 1.29 GB, free: 5.551 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) [Timeout 400] 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/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] Reference file matches [Calling sys.exit(0), Time elapsed: 11.55388370482251]