Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 110 kB / 16.37 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 195.8 kB / 17.31 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.234/2.234, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 70.08 kB / 0.814 GB, free: 32.75 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2409, allocations: 140.4 MB / 0.9511 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002317/0.2433, allocations: 1.231 MB / 0.9523 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008641/0.2442, allocations: 460.6 kB / 0.9528 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.835e-05/0.2442, allocations: 4 kB / 0.9528 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.536e-05/0.2442, allocations: 3.938 kB / 0.9528 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.132e-05/0.2443, allocations: 0 / 0.9528 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005286/0.2448, allocations: 115.6 kB / 0.9529 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.94e-05/0.2449, allocations: 23.86 kB / 0.9529 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.026e-05/0.245, allocations: 4 kB / 0.9529 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.161e-05/0.245, allocations: 7.984 kB / 0.9529 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.229e-05/0.245, allocations: 15.92 kB / 0.9529 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.2451, allocations: 4 kB / 0.9529 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001912/0.2452, allocations: 99.89 kB / 0.953 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.2453, allocations: 4 kB / 0.953 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.871e-05/0.2453, allocations: 15.86 kB / 0.953 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.2455, allocations: 95.81 kB / 0.9531 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.2455, allocations: 4 kB / 0.9531 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2455, allocations: 0 / 0.9531 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.2455, allocations: 0 / 0.9531 GB, free: 6.008 MB / 0.7325 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.0004401/0.246, allocations: 393.9 kB / 0.9535 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.246, allocations: 8.031 kB / 0.9535 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.576e-05/0.246, allocations: 8.844 kB / 0.9535 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.2462, allocations: 164.4 kB / 0.9537 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.2462, allocations: 4.312 kB / 0.9537 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.2462, allocations: 4.375 kB / 0.9537 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.642e-05/0.2463, allocations: 42.23 kB / 0.9537 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.2463, allocations: 192 / 0.9537 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.2463, allocations: 3.938 kB / 0.9537 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.2463, allocations: 7.938 kB / 0.9537 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.142e-05/0.2464, allocations: 11.98 kB / 0.9538 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001351/0.2465, allocations: 153.7 kB / 0.9539 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.072e-05/0.2466, allocations: 30.61 kB / 0.9539 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.089e-05/0.2467, allocations: 12.86 kB / 0.9539 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/0.2467, allocations: 0 / 0.9539 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001035/0.2468, allocations: 63.42 kB / 0.954 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.2468, allocations: 4 kB / 0.954 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0001883/0.247, allocations: 69.53 kB / 0.9541 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.247, allocations: 55.39 kB / 0.9541 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.397e-05/0.2471, allocations: 105.9 kB / 0.9542 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.2471, allocations: 25.7 kB / 0.9543 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.447e-05/0.2472, allocations: 84.12 kB / 0.9543 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.2472, allocations: 19.83 kB / 0.9543 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.419e-05/0.2473, allocations: 21.72 kB / 0.9544 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.2474, allocations: 318.8 kB / 0.9547 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.194e-05/0.2474, allocations: 8 kB / 0.9547 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.833e-05/0.2475, allocations: 35.38 kB / 0.9547 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.869e-05/0.2475, allocations: 47.36 kB / 0.9548 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.2475, allocations: 0 / 0.9548 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001028/0.2476, allocations: 73.47 kB / 0.9548 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.2477, allocations: 7.938 kB / 0.9548 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.2477, allocations: 0 / 0.9548 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.2477, allocations: 4 kB / 0.9548 GB, free: 4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.264e-05/0.2478, allocations: 11.98 kB / 0.9549 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.2478, allocations: 4 kB / 0.9549 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.551e-05/0.2478, allocations: 4.094 kB / 0.9549 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.2478, allocations: 4 kB / 0.9549 GB, free: 3.977 MB / 0.7325 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 8.494e-05/0.2479, allocations: 113.9 kB / 0.955 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.163e-05/0.2479, allocations: 7.938 kB / 0.955 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.223e-05/0.248, allocations: 3.906 kB / 0.955 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.248, allocations: 0 / 0.955 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.248, allocations: 0 / 0.955 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.248, allocations: 7.984 kB / 0.955 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.2481, allocations: 153.7 kB / 0.9551 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2481, allocations: 4.234 kB / 0.9551 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.344e-05/0.2481, allocations: 0 / 0.9551 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.2481, allocations: 11.88 kB / 0.9552 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.2482, allocations: 0 / 0.9552 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.2482, allocations: 3.984 kB / 0.9552 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2482, allocations: 3.984 kB / 0.9552 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.2483, allocations: 89.02 kB / 0.9552 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.061e-05/0.2484, allocations: 81.05 kB / 0.9553 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.2484, allocations: 7.938 kB / 0.9553 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.125e-05/0.2484, allocations: 0 / 0.9553 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.131e-05/0.2484, allocations: 7.984 kB / 0.9553 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.2484, allocations: 4 kB / 0.9553 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.972e-05/0.2485, allocations: 83.53 kB / 0.9554 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2485, allocations: 0 / 0.9554 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000249/0.2487, allocations: 35.98 kB / 0.9555 GB, free: 3.266 MB / 0.7325 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.0003007/0.249, allocations: 161.9 kB / 0.9556 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001084/0.2492, allocations: 27.92 kB / 0.9556 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2492, allocations: 0 / 0.9556 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.668e-05/0.2492, allocations: 15.98 kB / 0.9557 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/0.2494, allocations: 2.188 kB / 0.9557 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002476/0.2496, allocations: 113 kB / 0.9558 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.2499, allocations: 0.6885 MB / 0.9564 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.181e-05/0.2499, allocations: 0 / 0.9564 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.653e-05/0.2499, allocations: 15.38 kB / 0.9565 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.2499, allocations: 0 / 0.9565 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of Templates: time 0.003227/0.2532, allocations: 1.07 MB / 0.9575 GB, free: 1.133 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,C,D,seed,t0,time,y