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.001271/0.001271, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001539/0.001539, allocations: 215.5 kB / 22.26 MB, free: 5.078 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 8.012 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.895/2.895, allocations: 476.7 MB / 0.7707 GB, free: 4.262 MB / 0.6231 GB " [Timeout remaining time 176] 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.002057/0.002057, allocations: 64.41 kB / 1.117 GB, free: 39.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3469, allocations: 169.9 MB / 1.283 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.00269/0.3496, allocations: 1.261 MB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001029/0.3506, allocations: 476.3 kB / 1.285 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.769e-05/0.3507, allocations: 3.938 kB / 1.285 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.38e-05/0.3507, allocations: 3.938 kB / 1.285 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.886e-05/0.3507, allocations: 0 / 1.285 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006431/0.3514, allocations: 119.5 kB / 1.285 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.529e-05/0.3514, allocations: 23.92 kB / 1.285 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.605e-05/0.3515, allocations: 4 kB / 1.285 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.204e-05/0.3515, allocations: 15.98 kB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.557e-05/0.3516, allocations: 11.91 kB / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.3516, allocations: 4 kB / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003336/0.3519, allocations: 143.8 kB / 1.285 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.648e-05/0.3519, allocations: 7.938 kB / 1.285 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.241e-05/0.352, allocations: 11.94 kB / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002285/0.3522, allocations: 111.2 kB / 1.285 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.3522, allocations: 3.984 kB / 1.285 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.213e-06/0.3522, allocations: 0 / 1.285 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.3522, allocations: 8 kB / 1.285 GB, free: 9.426 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.0005067/0.3527, allocations: 307.7 kB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.3528, allocations: 12.03 kB / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.367e-05/0.3528, allocations: 30.75 kB / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.3528, allocations: 12.89 kB / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.353, allocations: 110.5 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.353, allocations: 4.375 kB / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.353, allocations: 384 / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.3531, allocations: 50.23 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.3531, allocations: 7.875 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.3531, allocations: 0 / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/0.3532, allocations: 4 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.742e-05/0.3532, allocations: 8 kB / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/0.3535, allocations: 220.1 kB / 1.286 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.276e-05/0.3536, allocations: 30.5 kB / 1.286 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.455e-05/0.3537, allocations: 24.97 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.3537, allocations: 0 / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001813/0.3539, allocations: 63.34 kB / 1.286 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.3539, allocations: 0 / 1.286 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0002354/0.3541, allocations: 81.62 kB / 1.286 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.3541, allocations: 51.41 kB / 1.286 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.601e-05/0.3542, allocations: 113.8 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.3543, allocations: 25.7 kB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.363e-05/0.3543, allocations: 84.14 kB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.3543, allocations: 15.84 kB / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.626e-05/0.3544, allocations: 37.58 kB / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3545, allocations: 310.8 kB / 1.287 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.722e-05/0.3546, allocations: 11.98 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.086e-05/0.3546, allocations: 44.3 kB / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.197e-05/0.3547, allocations: 56.22 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.3547, allocations: 3.938 kB / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000136/0.3548, allocations: 82.11 kB / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.3548, allocations: 12.03 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.3549, allocations: 0 / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.3549, allocations: 0 / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.98e-05/0.3549, allocations: 12 kB / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.3549, allocations: 0 / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.72e-05/0.355, allocations: 11.95 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.355, allocations: 0 / 1.287 GB, free: 7.391 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 9.664e-05/0.3551, allocations: 125.7 kB / 1.287 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.342e-05/0.3551, allocations: 4 kB / 1.287 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.77e-05/0.3551, allocations: 12.06 kB / 1.287 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.3551, allocations: 0 / 1.287 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3551, allocations: 0 / 1.287 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.3551, allocations: 0 / 1.287 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003125/0.3554, allocations: 277.6 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3554, allocations: 0 / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.758e-05/0.3555, allocations: 11.94 kB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.3555, allocations: 0 / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.3555, allocations: 4 kB / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3555, allocations: 3.984 kB / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3555, allocations: 4 kB / 1.288 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/0.3557, allocations: 163.5 kB / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.384e-05/0.3557, allocations: 11.98 kB / 1.288 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.3557, allocations: 3.984 kB / 1.288 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.453e-05/0.3558, allocations: 3.984 kB / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.496e-05/0.3558, allocations: 3.938 kB / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.3558, allocations: 4.188 kB / 1.288 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.063e-05/0.3559, allocations: 91.39 kB / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3559, allocations: 3.938 kB / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003141/0.3562, allocations: 35.88 kB / 1.288 GB, free: 6.566 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.0008998/0.3571, allocations: 0.788 MB / 1.289 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001421/0.3572, allocations: 35.92 kB / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3572, allocations: 0 / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.292e-05/0.3573, allocations: 12 kB / 1.289 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.3575, allocations: 10.33 kB / 1.289 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.3589, allocations: 1.306 MB / 1.29 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.3592, allocations: 0.6807 MB / 1.291 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.84e-05/0.3592, allocations: 4 kB / 1.291 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.883e-05/0.3593, allocations: 11.44 kB / 1.291 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of SimCode: time 5.71e-07/0.3593, allocations: 4.094 kB / 1.291 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03065/0.3899, allocations: 2.291 MB / 1.293 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.7, allocations: 10.75 kB / 1.293 GB, free: 1.422 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 & /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/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: 18.505867111030966]