Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001638/0.001638, allocations: 103 kB / 16.45 MB, free: 6.512 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.001958/0.001958, allocations: 196.6 kB / 19.41 MB, free: 3.676 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.537/1.537, 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 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.635/2.635, allocations: 443.5 MB / 0.7287 GB, free: 13.24 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.Logit1DQuadratic,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 67.89 kB / 1.056 GB, free: 5.922 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8614/0.8634, allocations: 160.7 MB / 1.213 GB, free: 3.965 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002886/0.8663, allocations: 1.232 MB / 1.214 GB, free: 2.996 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.8675, allocations: 474.2 kB / 1.215 GB, free: 2.645 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.508e-05/0.8676, allocations: 0 / 1.215 GB, free: 2.645 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.18e-05/0.8676, allocations: 1.031 kB / 1.215 GB, free: 2.645 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.226e-05/0.8676, allocations: 3.938 kB / 1.215 GB, free: 2.641 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006599/0.8683, allocations: 118.9 kB / 1.215 GB, free: 2.559 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.893e-05/0.8684, allocations: 17.55 kB / 1.215 GB, free: 2.551 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.911e-05/0.8684, allocations: 6.094 kB / 1.215 GB, free: 2.547 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.297e-05/0.8684, allocations: 8.438 kB / 1.215 GB, free: 2.543 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.517e-05/0.8685, allocations: 15.58 kB / 1.215 GB, free: 2.531 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.8685, allocations: 1.438 kB / 1.215 GB, free: 2.531 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002703/0.8687, allocations: 112.5 kB / 1.215 GB, free: 2.469 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.926e-05/0.8688, allocations: 5.969 kB / 1.215 GB, free: 2.465 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.987e-05/0.8688, allocations: 10.83 kB / 1.215 GB, free: 2.457 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.8691, allocations: 102.8 kB / 1.215 GB, free: 2.398 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.8691, allocations: 0 / 1.215 GB, free: 2.398 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8691, allocations: 0 / 1.215 GB, free: 2.398 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.638e-06/0.8691, allocations: 0 / 1.215 GB, free: 2.398 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.0005721/0.8696, allocations: 391.2 kB / 1.215 GB, free: 1.977 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.8697, allocations: 10.31 kB / 1.215 GB, free: 1.977 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.432e-05/0.8698, allocations: 34.73 kB / 1.215 GB, free: 1.934 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.122e-05/0.8698, allocations: 3.188 kB / 1.215 GB, free: 1.934 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.8699, allocations: 174.4 kB / 1.216 GB, free: 1.727 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.87, allocations: 6.156 kB / 1.216 GB, free: 1.723 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.87, allocations: 6.562 kB / 1.216 GB, free: 1.719 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.8701, allocations: 40.73 kB / 1.216 GB, free: 1.68 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.8701, allocations: 3.938 kB / 1.216 GB, free: 1.676 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.8701, allocations: 0.8438 kB / 1.216 GB, free: 1.676 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.8701, allocations: 0.7188 kB / 1.216 GB, free: 1.676 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.816e-05/0.8702, allocations: 8.062 kB / 1.216 GB, free: 1.672 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003547/0.8705, allocations: 248.6 kB / 1.216 GB, free: 1.391 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.8706, allocations: 41.06 kB / 1.216 GB, free: 1.352 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.239e-05/0.8707, allocations: 19.38 kB / 1.216 GB, free: 1.336 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.8707, allocations: 0.9375 kB / 1.216 GB, free: 1.336 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001735/0.8708, allocations: 57.22 kB / 1.216 GB, free: 1.277 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.8709, allocations: 0 / 1.216 GB, free: 1.277 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.0002314/0.8711, allocations: 83.05 kB / 1.216 GB, free: 1.219 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.8711, allocations: 52.53 kB / 1.216 GB, free: 1.156 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.4e-05/0.8712, allocations: 109.7 kB / 1.216 GB, free: 1.047 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.8712, allocations: 25.7 kB / 1.216 GB, free: 1.016 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.649e-05/0.8713, allocations: 89.84 kB / 1.216 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.8713, allocations: 9.766 kB / 1.216 GB, free: 0.918 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.8713, allocations: 28.3 kB / 1.216 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.8715, allocations: 312 kB / 1.217 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.511e-05/0.8715, allocations: 17.48 kB / 1.217 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.102e-05/0.8715, allocations: 26.75 kB / 1.217 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.336e-05/0.8716, allocations: 54.42 kB / 1.217 GB, free: 496 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.8716, allocations: 3.938 kB / 1.217 GB, free: 492 kB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001207/0.8717, allocations: 79.67 kB / 1.217 GB, free: 432 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.8718, allocations: 12.44 kB / 1.217 GB, free: 428 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.8718, allocations: 1.094 kB / 1.217 GB, free: 428 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.8718, allocations: 1.094 kB / 1.217 GB, free: 428 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.564e-05/0.8718, allocations: 11.77 kB / 1.217 GB, free: 424 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.8719, allocations: 1.094 kB / 1.217 GB, free: 424 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.931e-05/0.8719, allocations: 2.031 kB / 1.217 GB, free: 424 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.8719, allocations: 2.281 kB / 1.217 GB, free: 424 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 9.412e-05/0.872, allocations: 117.6 kB / 1.217 GB, free: 300 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/0.872, allocations: 10.27 kB / 1.217 GB, free: 292 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.19e-05/0.872, allocations: 16.94 kB / 1.217 GB, free: 268 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.872, allocations: 4.891 kB / 1.217 GB, free: 264 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.872, allocations: 0 / 1.217 GB, free: 264 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.872, allocations: 1.094 kB / 1.217 GB, free: 264 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003184/0.8724, allocations: 293.7 kB / 1.217 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.8724, allocations: 5.672 kB / 1.217 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.103e-05/0.8724, allocations: 3.281 kB / 1.217 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.8724, allocations: 0 / 1.217 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.904e-06/0.8724, allocations: 5.062 kB / 1.217 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.8724, allocations: 5.094 kB / 1.217 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.8724, allocations: 0 / 1.217 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/0.8726, allocations: 167.9 kB / 1.217 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.07e-05/0.8727, allocations: 86.58 kB / 1.217 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.8727, allocations: 0.75 kB / 1.217 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.303e-05/0.8727, allocations: 0.75 kB / 1.217 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.43e-05/0.8727, allocations: 1.562 kB / 1.217 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.8728, allocations: 5.781 kB / 1.217 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.81e-05/0.8728, allocations: 88.73 kB / 1.218 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.8728, allocations: 0 / 1.218 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003129/0.8731, allocations: 39.47 kB / 1.218 GB, free: 15.57 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.0008029/0.8739, allocations: 0.7654 MB / 1.218 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000126/0.8741, allocations: 34.89 kB / 1.218 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.8741, allocations: 1.312 kB / 1.218 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.584e-05/0.8741, allocations: 8.25 kB / 1.218 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.8743, allocations: 7.469 kB / 1.218 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.8755, allocations: 1.299 MB / 1.22 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.8758, allocations: 0.6791 MB / 1.22 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.44e-05/0.8759, allocations: 6.203 kB / 1.22 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.066e-05/0.8759, allocations: 13.59 kB / 1.22 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of SimCode: time 4.31e-07/0.8759, allocations: 1.094 kB / 1.22 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02692/0.9028, allocations: 2.112 MB / 1.222 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.325/9.228, allocations: 5.828 kB / 1.222 GB, free: 11.67 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.fmu > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.204157125204802]