Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.962/1.962, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.001039/0.001039, allocations: 187.9 kB / 490.8 MB, free: 1.965 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.296/1.296, allocations: 221.4 MB / 0.7863 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009215/0.0009214, allocations: 94.91 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.981e-06/6.001e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2848, allocations: 143 MB / 1.212 GB, free: 40.14 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7017/0.9866, allocations: 149.6 MB / 1.358 GB, free: 17.27 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001972/0.9868, allocations: 71.7 kB / 1.358 GB, free: 17.27 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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: time 0.006341/0.9932, allocations: 2.015 MB / 1.36 GB, free: 17.17 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.792e-06/0.9932, allocations: 0 / 1.36 GB, free: 17.17 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003619/0.9935, allocations: 379.2 kB / 1.36 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.9936, allocations: 9.938 kB / 1.36 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/0.9936, allocations: 5.938 kB / 1.36 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.828e-05/0.9937, allocations: 169.5 kB / 1.36 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.9938, allocations: 4.625 kB / 1.36 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.9938, allocations: 2.969 kB / 1.36 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.843e-05/0.9939, allocations: 9.531 kB / 1.36 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.284e-05/0.9939, allocations: 47.38 kB / 1.36 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.9939, allocations: 0 / 1.36 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.994, allocations: 1.703 kB / 1.36 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.994, allocations: 0 / 1.36 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001228/0.9941, allocations: 134.5 kB / 1.36 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.795e-05/0.9941, allocations: 25.83 kB / 1.36 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.046e-05/0.9942, allocations: 15.78 kB / 1.36 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.713e-06/0.9942, allocations: 4 kB / 1.36 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.424e-05/0.9943, allocations: 57.97 kB / 1.361 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.9943, allocations: 0 / 1.361 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.0001469/0.9944, allocations: 50.02 kB / 1.361 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.072e-05/0.9945, allocations: 53.33 kB / 1.361 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.677e-05/0.9946, allocations: 95.25 kB / 1.361 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.9946, allocations: 34.67 kB / 1.361 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.348e-05/0.9946, allocations: 82.25 kB / 1.361 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.9946, allocations: 18.17 kB / 1.361 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.9947, allocations: 0 / 1.361 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.9948, allocations: 314.1 kB / 1.361 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.938e-05/0.9948, allocations: 12.5 kB / 1.361 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.375e-05/0.9948, allocations: 36.41 kB / 1.361 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.492e-05/0.9949, allocations: 12.3 kB / 1.361 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.9949, allocations: 0 / 1.361 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.289e-05/0.995, allocations: 68.75 kB / 1.361 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.995, allocations: 5.469 kB / 1.361 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.995, allocations: 1.094 kB / 1.361 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.995, allocations: 6.891 kB / 1.361 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.916e-05/0.9951, allocations: 12.72 kB / 1.361 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.9951, allocations: 1.859 kB / 1.361 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.154e-05/0.9951, allocations: 5.906 kB / 1.361 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.9951, allocations: 3.188 kB / 1.361 GB, free: 31.55 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (8): * Single equations (assignments): 8 * 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 6.074e-05/0.9952, allocations: 105.2 kB / 1.361 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.192e-05/0.9952, allocations: 6.609 kB / 1.361 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.622e-05/0.9953, allocations: 12.06 kB / 1.361 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.9953, allocations: 0 / 1.361 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.9953, allocations: 5.719 kB / 1.361 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.9953, allocations: 0 / 1.361 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.977e-05/0.9954, allocations: 134.2 kB / 1.362 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.9954, allocations: 1.125 kB / 1.362 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.979e-05/0.9954, allocations: 6.75 kB / 1.362 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.9954, allocations: 1.922 kB / 1.362 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.9954, allocations: 4.875 kB / 1.362 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.9954, allocations: 0.7031 kB / 1.362 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.9954, allocations: 1.031 kB / 1.362 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.043e-05/0.9955, allocations: 80.56 kB / 1.362 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.802e-05/0.9955, allocations: 79.92 kB / 1.362 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.9956, allocations: 1.031 kB / 1.362 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.401e-05/0.9956, allocations: 1.594 kB / 1.362 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.302e-05/0.9956, allocations: 9.375 kB / 1.362 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-06/0.9956, allocations: 2.75 kB / 1.362 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.19e-05/0.9957, allocations: 80.06 kB / 1.362 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002653/0.9959, allocations: 50.2 kB / 1.362 GB, free: 31.01 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 (5): * Single equations (assignments): 3 * 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.0003208/0.9963, allocations: 183.5 kB / 1.362 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.737e-05/0.9964, allocations: 27.47 kB / 1.362 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.9964, allocations: 0 / 1.362 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.07e-05/0.9964, allocations: 17.36 kB / 1.362 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.764e-05/0.9965, allocations: 2.875 kB / 1.362 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001857/0.9967, allocations: 73.84 kB / 1.362 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002323/0.9969, allocations: 0.6945 MB / 1.363 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/0.997, allocations: 3.938 kB / 1.363 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of Templates: time 0.003316/1, allocations: 1.283 MB / 1.364 GB, free: 29.97 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,C,seed,t0,time,y