Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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.001354/0.001354, allocations: 104.6 kB / 16.45 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.001512/0.001512, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.41/1.41, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.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.768/2.768, allocations: 476.7 MB / 0.7611 GB, free: 11.31 MB / 0.6231 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.Logit1DQuadratic,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 67.89 kB / 1.104 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8156/0.8176, allocations: 168.7 MB / 1.269 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002692/0.8203, allocations: 1.229 MB / 1.27 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.8214, allocations: 466.4 kB / 1.27 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.88e-05/0.8214, allocations: 0 / 1.27 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.417e-05/0.8215, allocations: 7.875 kB / 1.27 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.254e-05/0.8215, allocations: 4 kB / 1.27 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00073/0.8222, allocations: 111.6 kB / 1.27 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.728e-05/0.8223, allocations: 19.92 kB / 1.27 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.658e-05/0.8224, allocations: 7.984 kB / 1.271 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.805e-05/0.8224, allocations: 11.94 kB / 1.271 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.575e-05/0.8224, allocations: 11.92 kB / 1.271 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.8225, allocations: 0 / 1.271 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002823/0.8227, allocations: 111.9 kB / 1.271 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.8228, allocations: 4 kB / 1.271 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.182e-05/0.8228, allocations: 7.938 kB / 1.271 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002924/0.8231, allocations: 113.5 kB / 1.271 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.8231, allocations: 0 / 1.271 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.605e-06/0.8231, allocations: 0 / 1.271 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.8231, allocations: 0 / 1.271 GB, free: 3.105 MB / 0.9669 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.0006248/0.8237, allocations: 388.8 kB / 1.271 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.8238, allocations: 12.03 kB / 1.271 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.356e-05/0.8238, allocations: 30.75 kB / 1.271 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.239e-05/0.8239, allocations: 0.9375 kB / 1.271 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.824, allocations: 184.3 kB / 1.271 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.824, allocations: 384 / 1.271 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.8241, allocations: 4.375 kB / 1.271 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.8242, allocations: 38.25 kB / 1.271 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.8242, allocations: 11.88 kB / 1.271 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.8242, allocations: 0 / 1.271 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.8242, allocations: 0 / 1.271 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.43e-05/0.8243, allocations: 7.984 kB / 1.271 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004404/0.8247, allocations: 249 kB / 1.272 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.8248, allocations: 34.5 kB / 1.272 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.777e-05/0.8248, allocations: 12.86 kB / 1.272 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.8249, allocations: 0 / 1.272 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002074/0.8251, allocations: 63.42 kB / 1.272 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 4.448e-06/0.8251, allocations: 4 kB / 1.272 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0002512/0.8253, allocations: 77.62 kB / 1.272 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.8254, allocations: 51.41 kB / 1.272 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.8255, allocations: 106.1 kB / 1.272 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.8255, allocations: 33.69 kB / 1.272 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.773e-05/0.8256, allocations: 84.14 kB / 1.272 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.8256, allocations: 19.81 kB / 1.272 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.058e-05/0.8256, allocations: 21.72 kB / 1.272 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.8258, allocations: 318.8 kB / 1.272 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.409e-05/0.8258, allocations: 8 kB / 1.272 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.089e-05/0.8259, allocations: 47.33 kB / 1.272 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.045e-05/0.8259, allocations: 47.38 kB / 1.273 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.8259, allocations: 3.938 kB / 1.273 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001278/0.8261, allocations: 81.56 kB / 1.273 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.8261, allocations: 4 kB / 1.273 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.8261, allocations: 0 / 1.273 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.8261, allocations: 4 kB / 1.273 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.023e-05/0.8262, allocations: 8 kB / 1.273 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.8262, allocations: 7.922 kB / 1.273 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.967e-05/0.8262, allocations: 0 / 1.273 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.8262, allocations: 8 kB / 1.273 GB, free: 0.9062 MB / 0.9669 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.000106/0.8263, allocations: 117.8 kB / 1.273 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.177e-05/0.8263, allocations: 3.953 kB / 1.273 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.438e-05/0.8264, allocations: 11.91 kB / 1.273 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.8264, allocations: 4 kB / 1.273 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.8264, allocations: 0 / 1.273 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.8264, allocations: 0 / 1.273 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003164/0.8267, allocations: 302.5 kB / 1.273 GB, free: 412 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.8267, allocations: 0 / 1.273 GB, free: 412 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.294e-05/0.8267, allocations: 4 kB / 1.273 GB, free: 408 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.8267, allocations: 0 / 1.273 GB, free: 408 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.8267, allocations: 7.984 kB / 1.273 GB, free: 400 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.8267, allocations: 0 / 1.273 GB, free: 400 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.8267, allocations: 0 / 1.273 GB, free: 400 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.8269, allocations: 165.4 kB / 1.273 GB, free: 220 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.86e-05/0.827, allocations: 81.06 kB / 1.273 GB, free: 120 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.827, allocations: 4.047 kB / 1.273 GB, free: 116 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.499e-05/0.8271, allocations: 4 kB / 1.273 GB, free: 112 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.696e-05/0.8271, allocations: 8 kB / 1.273 GB, free: 104 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.8271, allocations: 4 kB / 1.273 GB, free: 100 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.559e-05/0.8271, allocations: 87.2 kB / 1.273 GB, free: 12 kB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.8271, allocations: 0 / 1.273 GB, free: 12 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003489/0.8275, allocations: 39.97 kB / 1.273 GB, free: 15.97 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,$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.0009083/0.8284, allocations: 0.7776 MB / 1.274 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001299/0.8285, allocations: 31.92 kB / 1.274 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8285, allocations: 0 / 1.274 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.798e-05/0.8286, allocations: 15.98 kB / 1.274 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.8288, allocations: 0 / 1.274 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.8302, allocations: 1.304 MB / 1.276 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.8305, allocations: 0.6768 MB / 1.276 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.939e-05/0.8306, allocations: 7.75 kB / 1.276 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.55e-05/0.8306, allocations: 11.42 kB / 1.276 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of SimCode: time 8.81e-07/0.8306, allocations: 0 / 1.276 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03121/0.8618, allocations: 2.104 MB / 1.278 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.246/9.108, allocations: 27 kB / 1.278 GB, free: 10.99 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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,D,seed,time,x,y [Calling sys.exit(0), Time elapsed: 15.534341419115663]