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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.023/2.023, allocations: 387.4 MB / 394.9 MB, free: 13.37 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009399/0.0009398, allocations: 168.9 kB / 487.4 MB, free: 5.059 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 221.5 MB / 0.7824 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008674/0.0008674, allocations: 97.34 kB / 0.9219 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.241e-05/1.252e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2319, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7531/0.9851, allocations: 148.9 MB / 1.351 GB, free: 18.31 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002053/0.9853, allocations: 73.72 kB / 1.351 GB, free: 18.31 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.006637/0.992, allocations: 2.334 MB / 1.354 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.252e-06/0.992, allocations: 0 / 1.354 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.992, allocations: 0 / 1.354 GB, free: 33.9 MB / 0.8386 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.0003211/0.9923, allocations: 383.5 kB / 1.354 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.9924, allocations: 8.219 kB / 1.354 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.301e-05/0.9924, allocations: 8.344 kB / 1.354 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.246e-05/0.9925, allocations: 164.2 kB / 1.354 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.9925, allocations: 4.516 kB / 1.354 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.9926, allocations: 3.875 kB / 1.354 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.014e-05/0.9926, allocations: 11.7 kB / 1.354 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.106e-05/0.9927, allocations: 34.03 kB / 1.354 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.9927, allocations: 0 / 1.354 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.9927, allocations: 3.547 kB / 1.354 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.9927, allocations: 0 / 1.354 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001096/0.9928, allocations: 138.5 kB / 1.354 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.129e-05/0.9929, allocations: 30.69 kB / 1.354 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.154e-05/0.9929, allocations: 17.5 kB / 1.354 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.582e-06/0.9929, allocations: 0 / 1.354 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.599e-05/0.993, allocations: 59.86 kB / 1.355 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.993, allocations: 0.75 kB / 1.355 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001752/0.9932, allocations: 54.06 kB / 1.355 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.9933, allocations: 51.41 kB / 1.355 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.507e-05/0.9934, allocations: 106.1 kB / 1.355 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.9934, allocations: 25.7 kB / 1.355 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.777e-05/0.9934, allocations: 81.36 kB / 1.355 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.9935, allocations: 15.34 kB / 1.355 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/0.9935, allocations: 0 / 1.355 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.9936, allocations: 319.3 kB / 1.355 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.618e-05/0.9936, allocations: 4.609 kB / 1.355 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.018e-05/0.9937, allocations: 35.19 kB / 1.355 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.689e-05/0.9937, allocations: 17.67 kB / 1.355 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.9937, allocations: 0 / 1.355 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.036e-05/0.9938, allocations: 60.7 kB / 1.355 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.9938, allocations: 4.609 kB / 1.355 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.9938, allocations: 0 / 1.355 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.9939, allocations: 7.938 kB / 1.355 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.959e-05/0.9939, allocations: 5.297 kB / 1.355 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.9939, allocations: 4.344 kB / 1.355 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.393e-05/0.994, allocations: 3.906 kB / 1.355 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.994, allocations: 7.859 kB / 1.355 GB, free: 32.3 MB / 0.8386 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 ($PRE.y,y,$PRE.curSeed,curSeed,$whenCondition1) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.66e-05/0.9941, allocations: 105.5 kB / 1.355 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.062e-05/0.9941, allocations: 8.328 kB / 1.355 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/0.9941, allocations: 8.531 kB / 1.355 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.9941, allocations: 0 / 1.355 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.9941, allocations: 4.797 kB / 1.355 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.9942, allocations: 0 / 1.355 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.701e-05/0.9942, allocations: 141.8 kB / 1.356 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.9943, allocations: 1.562 kB / 1.356 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.276e-05/0.9943, allocations: 0.7969 kB / 1.356 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.9943, allocations: 3.953 kB / 1.356 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.9943, allocations: 4.5 kB / 1.356 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.644e-06/0.9943, allocations: 4.359 kB / 1.356 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.9943, allocations: 0 / 1.356 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.9944, allocations: 81.25 kB / 1.356 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.817e-05/0.9945, allocations: 81.77 kB / 1.356 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.9945, allocations: 8.531 kB / 1.356 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.3e-05/0.9945, allocations: 0 / 1.356 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.256e-05/0.9946, allocations: 1.312 kB / 1.356 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.9946, allocations: 5.344 kB / 1.356 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.812e-05/0.9946, allocations: 83.31 kB / 1.356 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9.82e-07/0.9946, allocations: 0 / 1.356 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002631/0.9949, allocations: 45.25 kB / 1.356 GB, free: 31.75 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003808/0.9953, allocations: 181.9 kB / 1.356 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.74e-05/0.9954, allocations: 24.52 kB / 1.356 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.9954, allocations: 0 / 1.356 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.736e-05/0.9954, allocations: 12.14 kB / 1.356 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001099/0.9955, allocations: 8.969 kB / 1.356 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002152/0.9958, allocations: 67.41 kB / 1.356 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.996, allocations: 0.6816 MB / 1.357 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.346e-05/0.9961, allocations: 4.438 kB / 1.357 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.586e-05/0.9961, allocations: 12.03 kB / 1.357 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/0.9961, allocations: 0 / 1.357 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of Templates: time 0.003664/0.9998, allocations: 1.225 MB / 1.358 GB, free: 30.7 MB / 0.8386 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 -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","../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