Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.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.001654/0.001654, allocations: 111.1 kB / 16.46 MB, free: 6.504 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.001817/0.001817, allocations: 196.5 kB / 19.41 MB, free: 3.668 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.529/1.529, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.664/2.664, allocations: 443.5 MB / 0.7287 GB, free: 13.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Logit1D,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 63.91 kB / 1.056 GB, free: 5.922 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8212/0.8232, allocations: 160.7 MB / 1.213 GB, free: 3.879 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002818/0.826, allocations: 1.227 MB / 1.214 GB, free: 2.91 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.827, allocations: 437.2 kB / 1.214 GB, free: 2.59 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.129e-05/0.8271, allocations: 0 / 1.214 GB, free: 2.59 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.204e-05/0.8271, allocations: 5 kB / 1.214 GB, free: 2.586 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.876e-05/0.8271, allocations: 0 / 1.214 GB, free: 2.586 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006863/0.8278, allocations: 109 kB / 1.215 GB, free: 2.512 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.529e-05/0.8279, allocations: 21.28 kB / 1.215 GB, free: 2.5 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.348e-05/0.8279, allocations: 1.094 kB / 1.215 GB, free: 2.5 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.659e-05/0.828, allocations: 12.12 kB / 1.215 GB, free: 2.492 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.599e-05/0.828, allocations: 11.14 kB / 1.215 GB, free: 2.484 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.828, allocations: 1.188 kB / 1.215 GB, free: 2.484 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000265/0.8283, allocations: 116.5 kB / 1.215 GB, free: 2.418 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.334e-05/0.8283, allocations: 8.984 kB / 1.215 GB, free: 2.41 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.138e-05/0.8283, allocations: 7.344 kB / 1.215 GB, free: 2.406 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00024/0.8286, allocations: 92.3 kB / 1.215 GB, free: 2.355 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.8286, allocations: 0 / 1.215 GB, free: 2.355 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8286, allocations: 0 / 1.215 GB, free: 2.355 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.8286, allocations: 5.125 kB / 1.215 GB, free: 2.352 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006953/0.8293, allocations: 389 kB / 1.215 GB, free: 1.93 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.8293, allocations: 13.44 kB / 1.215 GB, free: 1.926 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.96e-05/0.8294, allocations: 31.59 kB / 1.215 GB, free: 1.887 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/0.8295, allocations: 10.67 kB / 1.215 GB, free: 1.879 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.8296, allocations: 166.5 kB / 1.215 GB, free: 1.68 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.8297, allocations: 1.469 kB / 1.215 GB, free: 1.68 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.8297, allocations: 2.562 kB / 1.215 GB, free: 1.68 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.8298, allocations: 44.94 kB / 1.215 GB, free: 1.637 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.8298, allocations: 3.938 kB / 1.215 GB, free: 1.633 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.8298, allocations: 1.062 kB / 1.216 GB, free: 1.633 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.8298, allocations: 4 kB / 1.216 GB, free: 1.629 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.805e-05/0.8299, allocations: 8.578 kB / 1.216 GB, free: 1.625 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004436/0.8303, allocations: 240.1 kB / 1.216 GB, free: 1.352 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.8304, allocations: 36.2 kB / 1.216 GB, free: 1.316 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.905e-05/0.8305, allocations: 27.23 kB / 1.216 GB, free: 1.293 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.8305, allocations: 0.9688 kB / 1.216 GB, free: 1.293 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/0.8307, allocations: 60.77 kB / 1.216 GB, free: 1.23 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.8307, allocations: 0 / 1.216 GB, free: 1.23 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.0002479/0.831, allocations: 77.92 kB / 1.216 GB, free: 1.176 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.031e-05/0.831, allocations: 52.56 kB / 1.216 GB, free: 1.113 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.8311, allocations: 103.1 kB / 1.216 GB, free: 1.008 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.8312, allocations: 26.64 kB / 1.216 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.952e-05/0.8312, allocations: 85.23 kB / 1.216 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.8312, allocations: 18.03 kB / 1.216 GB, free: 0.875 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.362e-05/0.8313, allocations: 23.23 kB / 1.216 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.8315, allocations: 316 kB / 1.217 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.939e-05/0.8315, allocations: 9.641 kB / 1.217 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.275e-05/0.8316, allocations: 31.28 kB / 1.217 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.671e-05/0.8316, allocations: 53.92 kB / 1.217 GB, free: 456 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.8316, allocations: 4.75 kB / 1.217 GB, free: 452 kB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001327/0.8318, allocations: 66.41 kB / 1.217 GB, free: 404 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.8318, allocations: 5.312 kB / 1.217 GB, free: 404 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.8318, allocations: 2.031 kB / 1.217 GB, free: 404 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.8318, allocations: 1.125 kB / 1.217 GB, free: 404 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.934e-05/0.8319, allocations: 19.36 kB / 1.217 GB, free: 392 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.8319, allocations: 5.219 kB / 1.217 GB, free: 388 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.59e-05/0.8319, allocations: 2.25 kB / 1.217 GB, free: 388 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.8319, allocations: 6.219 kB / 1.217 GB, free: 384 kB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (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 0.0001078/0.832, allocations: 120.6 kB / 1.217 GB, free: 256 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.288e-05/0.8321, allocations: 6.328 kB / 1.217 GB, free: 252 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/0.8321, allocations: 3.562 kB / 1.217 GB, free: 240 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.8321, allocations: 5.328 kB / 1.217 GB, free: 236 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.8321, allocations: 0 / 1.217 GB, free: 236 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.8321, allocations: 1.344 kB / 1.217 GB, free: 236 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003617/0.8325, allocations: 304.5 kB / 1.217 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.8325, allocations: 1.219 kB / 1.217 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.983e-05/0.8325, allocations: 5.922 kB / 1.217 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.8325, allocations: 0.8125 kB / 1.217 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.8325, allocations: 1.375 kB / 1.217 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.8325, allocations: 1.125 kB / 1.217 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.8325, allocations: 4 kB / 1.217 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.8327, allocations: 167.7 kB / 1.217 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.351e-05/0.8328, allocations: 89.98 kB / 1.217 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.8328, allocations: 1.125 kB / 1.217 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.331e-05/0.8328, allocations: 0.875 kB / 1.217 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.767e-05/0.8329, allocations: 9.953 kB / 1.217 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.433e-06/0.8329, allocations: 1.094 kB / 1.217 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.272e-05/0.8329, allocations: 82.52 kB / 1.218 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.8329, allocations: 0 / 1.218 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003226/0.8333, allocations: 36.16 kB / 1.218 GB, free: 15.54 MB / 0.9356 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 (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.0008289/0.8341, allocations: 0.7674 MB / 1.218 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000122/0.8342, allocations: 34.48 kB / 1.218 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.8342, allocations: 4.125 kB / 1.218 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.542e-05/0.8343, allocations: 20.23 kB / 1.218 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.8345, allocations: 6.188 kB / 1.218 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.8357, allocations: 1.271 MB / 1.22 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.8361, allocations: 0.6821 MB / 1.22 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.483e-05/0.8361, allocations: 6.766 kB / 1.22 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.047e-05/0.8361, allocations: 10.12 kB / 1.22 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/0.8361, allocations: 0 / 1.22 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.025/0.8611, allocations: 2.035 MB / 1.222 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.13/8.991, allocations: 11.23 kB / 1.222 GB, free: 11.66 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_BaseClasses_Validation_Logit1D_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_BaseClasses_Validation_Logit1D.fmu > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.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,seed,time,x,y [Calling sys.exit(0), Time elapsed: 14.988912897184491]