Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.52/1.52, allocations: 249.3 MB / 261.8 MB, free: 5.824 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001494/0.001494, allocations: 170.6 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.57/1.57, allocations: 205.2 MB / 0.572 GB, free: 10.69 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008672/0.0008669, allocations: 92.94 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.662e-05/3.664e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2448, allocations: 106.3 MB / 0.8918 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7538/0.9986, allocations: 132 MB / 1.021 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.999, allocations: 71.27 kB / 1.021 GB, free: 2.711 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.00636/1.005, allocations: 2.336 MB / 1.023 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.824e-06/1.005, allocations: 0 / 1.023 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.721e-06/1.005, allocations: 4 kB / 1.023 GB, free: 0.7031 MB / 0.6355 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.0004521/1.006, allocations: 377.4 kB / 1.023 GB, free: 296 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/1.006, allocations: 11.97 kB / 1.023 GB, free: 284 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.668e-05/1.006, allocations: 4 kB / 1.023 GB, free: 280 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/1.006, allocations: 170.9 kB / 1.024 GB, free: 68 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/1.006, allocations: 3.25 kB / 1.024 GB, free: 68 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/1.006, allocations: 8 kB / 1.024 GB, free: 60 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/1.006, allocations: 40.27 kB / 1.024 GB, free: 16 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/1.006, allocations: 0 / 1.024 GB, free: 16 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/1.006, allocations: 4 kB / 1.024 GB, free: 12 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/1.006, allocations: 0 / 1.024 GB, free: 12 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.726e-05/1.006, allocations: 7.375 kB / 1.024 GB, free: 8 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002233/1.007, allocations: 157 kB / 1.024 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 8.793e-05/1.007, allocations: 34.05 kB / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.766e-05/1.007, allocations: 16.55 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/1.007, allocations: 4 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001125/1.007, allocations: 50.94 kB / 1.024 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/1.007, allocations: 0 / 1.024 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4): time 0.0001665/1.007, allocations: 61.11 kB / 1.024 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/1.007, allocations: 51.41 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.101e-05/1.007, allocations: 101.5 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/1.007, allocations: 29.64 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.109e-05/1.007, allocations: 88.12 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/1.007, allocations: 11.83 kB / 1.024 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/1.007, allocations: 3.562 kB / 1.024 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001274/1.007, allocations: 322.7 kB / 1.025 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.985e-05/1.007, allocations: 7.875 kB / 1.025 GB, free: 15 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.221e-05/1.007, allocations: 34.88 kB / 1.025 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.135e-05/1.008, allocations: 8.031 kB / 1.025 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.008, allocations: 0 / 1.025 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.484e-05/1.008, allocations: 76.95 kB / 1.025 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/1.008, allocations: 9.719 kB / 1.025 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/1.008, allocations: 0 / 1.025 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/1.008, allocations: 4.094 kB / 1.025 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.962e-05/1.008, allocations: 11.98 kB / 1.025 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/1.008, allocations: 0 / 1.025 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.735e-05/1.008, allocations: 7.938 kB / 1.025 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/1.008, allocations: 0 / 1.025 GB, free: 14.85 MB / 0.6511 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 7.836e-05/1.008, allocations: 115.7 kB / 1.025 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.158e-05/1.008, allocations: 3.906 kB / 1.025 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.33e-05/1.008, allocations: 8.031 kB / 1.025 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/1.008, allocations: 3.938 kB / 1.025 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/1.008, allocations: 4 kB / 1.025 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/1.008, allocations: 0 / 1.025 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/1.008, allocations: 161.4 kB / 1.025 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/1.008, allocations: 0 / 1.025 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.448e-05/1.008, allocations: 4 kB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/1.008, allocations: 0 / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/1.008, allocations: 0 / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/1.008, allocations: 0 / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/1.008, allocations: 0 / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/1.008, allocations: 96.06 kB / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.919e-05/1.008, allocations: 81.02 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/1.008, allocations: 4 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.259e-05/1.008, allocations: 0 / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/1.008, allocations: 3.984 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/1.008, allocations: 4 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.109e-05/1.009, allocations: 83.03 kB / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.7e-07/1.009, allocations: 3.938 kB / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002813/1.009, allocations: 47.86 kB / 1.025 GB, free: 14.16 MB / 0.6511 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.0003845/1.009, allocations: 178.1 kB / 1.025 GB, free: 14 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.987e-05/1.009, allocations: 31.86 kB / 1.025 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.009, allocations: 0 / 1.025 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.756e-05/1.009, allocations: 11.38 kB / 1.025 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.745e-05/1.009, allocations: 4.125 kB / 1.025 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002616/1.01, allocations: 81.11 kB / 1.026 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/1.01, allocations: 0.6809 MB / 1.026 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.378e-05/1.01, allocations: 3.984 kB / 1.026 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.854e-05/1.01, allocations: 11.44 kB / 1.026 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of SimCode: time 3.41e-07/1.01, allocations: 0 / 1.026 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of Templates: time 0.00375/1.014, allocations: 1.231 MB / 1.027 GB, free: 11.92 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","../files/Buildings_maint.7.0.x_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