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.001901/0.001901, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001952/0.001952, allocations: 194.3 kB / 22.17 MB, free: 5.656 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.43/1.43, allocations: 225.6 MB / 250.9 MB, free: 13.3 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.793/2.793, allocations: 476.7 MB / 0.7645 GB, free: 10.11 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: translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 63.89 kB / 1.109 GB, free: 6.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8445/0.8465, allocations: 168.7 MB / 1.274 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002289/0.8488, allocations: 1.229 MB / 1.275 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009378/0.8497, allocations: 478.4 kB / 1.276 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.373e-05/0.8497, allocations: 0 / 1.276 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.21e-05/0.8497, allocations: 3.938 kB / 1.276 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.617e-05/0.8498, allocations: 0 / 1.276 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005283/0.8503, allocations: 119.6 kB / 1.276 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.455e-05/0.8504, allocations: 15.94 kB / 1.276 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.07e-05/0.8504, allocations: 11.92 kB / 1.276 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.055e-05/0.8504, allocations: 7.938 kB / 1.276 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.231e-05/0.8505, allocations: 15.91 kB / 1.276 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.8505, allocations: 4 kB / 1.276 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002213/0.8507, allocations: 107.8 kB / 1.276 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.726e-05/0.8507, allocations: 8 kB / 1.276 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.081e-05/0.8507, allocations: 3.938 kB / 1.276 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.8509, allocations: 102.4 kB / 1.276 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.851, allocations: 0 / 1.276 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.413e-06/0.851, allocations: 4 kB / 1.276 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.851, allocations: 0 / 1.276 GB, free: 2.496 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.0005431/0.8515, allocations: 388.9 kB / 1.276 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.8515, allocations: 12.03 kB / 1.276 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.526e-05/0.8516, allocations: 0.9375 kB / 1.276 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.8517, allocations: 168.3 kB / 1.277 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.8517, allocations: 4.375 kB / 1.277 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.268e-06/0.8517, allocations: 384 / 1.277 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.8518, allocations: 50.19 kB / 1.277 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.8519, allocations: 8.109 kB / 1.277 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.8519, allocations: 3.938 kB / 1.277 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.8519, allocations: 0 / 1.277 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.929e-05/0.8519, allocations: 4 kB / 1.277 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001756/0.8521, allocations: 161.7 kB / 1.277 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.109e-05/0.8522, allocations: 26.58 kB / 1.277 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.472e-05/0.8522, allocations: 12.94 kB / 1.277 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.581e-06/0.8522, allocations: 4 kB / 1.277 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001382/0.8523, allocations: 59.34 kB / 1.277 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.8523, allocations: 0 / 1.277 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002094/0.8525, allocations: 69.61 kB / 1.277 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.8526, allocations: 51.41 kB / 1.277 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.223e-05/0.8527, allocations: 113.8 kB / 1.277 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.8527, allocations: 33.7 kB / 1.277 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.703e-05/0.8527, allocations: 88.12 kB / 1.277 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.8528, allocations: 11.91 kB / 1.277 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-05/0.8528, allocations: 21.7 kB / 1.277 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.8529, allocations: 314.8 kB / 1.278 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.357e-05/0.853, allocations: 11.98 kB / 1.278 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.847e-05/0.853, allocations: 31.38 kB / 1.278 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.473e-05/0.8531, allocations: 51.36 kB / 1.278 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.8531, allocations: 0 / 1.278 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001004/0.8532, allocations: 65.62 kB / 1.278 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.8532, allocations: 7.938 kB / 1.278 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.8532, allocations: 3.938 kB / 1.278 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.8532, allocations: 8.094 kB / 1.278 GB, free: 500 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.269e-05/0.8533, allocations: 4 kB / 1.278 GB, free: 496 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.8533, allocations: 4 kB / 1.278 GB, free: 492 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.507e-05/0.8533, allocations: 4 kB / 1.278 GB, free: 488 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.8533, allocations: 7.984 kB / 1.278 GB, free: 480 kB / 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 (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 (7): * Single equations (assignments): 7 * 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.0001002/0.8534, allocations: 118.2 kB / 1.278 GB, free: 352 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.533e-05/0.8534, allocations: 7.891 kB / 1.278 GB, free: 344 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.903e-05/0.8535, allocations: 7.906 kB / 1.278 GB, free: 332 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.8535, allocations: 4 kB / 1.278 GB, free: 328 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.8535, allocations: 7.938 kB / 1.278 GB, free: 320 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.8535, allocations: 0 / 1.278 GB, free: 320 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.8536, allocations: 153.7 kB / 1.278 GB, free: 116 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.8536, allocations: 3.984 kB / 1.278 GB, free: 112 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.316e-05/0.8536, allocations: 0 / 1.278 GB, free: 112 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.8536, allocations: 8.172 kB / 1.278 GB, free: 104 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.8536, allocations: 0 / 1.278 GB, free: 104 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.8536, allocations: 0 / 1.278 GB, free: 104 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.8536, allocations: 0 / 1.278 GB, free: 104 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.8538, allocations: 98.66 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.696e-05/0.8538, allocations: 81.06 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.8539, allocations: 3.938 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.172e-05/0.8539, allocations: 0 / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.091e-05/0.8539, allocations: 4 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.8539, allocations: 3.984 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.802e-05/0.854, allocations: 87.47 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.854, allocations: 0 / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002408/0.8542, allocations: 35.92 kB / 1.278 GB, free: 15.76 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 (4): * Single equations (assignments): 2 * 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.0003651/0.8546, allocations: 168 kB / 1.279 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001128/0.8547, allocations: 27.92 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.8547, allocations: 0 / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.649e-05/0.8547, allocations: 12 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.8549, allocations: 4.188 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002612/0.8551, allocations: 120.8 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.8554, allocations: 0.6807 MB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.89e-05/0.8554, allocations: 0 / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.988e-05/0.8555, allocations: 11.44 kB / 1.279 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of SimCode: time 4.51e-07/0.8555, allocations: 3.938 kB / 1.279 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of Templates: time 0.004163/0.8596, allocations: 1.093 MB / 1.28 GB, free: 13.59 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) [Timeout 400] 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,t0,time,y [Calling sys.exit(0), Time elapsed: 8.612806580029428]