Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_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.001751/0.001751, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.002056/0.002056, allocations: 192.5 kB / 16.14 MB, free: 6.734 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.497/1.497, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.94/2.94, allocations: 472.6 MB / 0.7447 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.55 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.3862, allocations: 159.9 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002246/0.3885, allocations: 1.284 MB / 1.069 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008672/0.3894, allocations: 476.6 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.944e-05/0.3894, allocations: 0 / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.814e-05/0.3895, allocations: 7.938 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.649e-05/0.3895, allocations: 0 / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004398/0.39, allocations: 91.78 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.222e-05/0.39, allocations: 23.92 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.005e-05/0.3901, allocations: 0 / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.255e-05/0.3901, allocations: 11.98 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.421e-05/0.3901, allocations: 7.922 kB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.3901, allocations: 4 kB / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002044/0.3903, allocations: 103.8 kB / 1.069 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.853e-05/0.3904, allocations: 7.938 kB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.955e-05/0.3904, allocations: 15.94 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.3906, allocations: 95.8 kB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.3906, allocations: 0 / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.52e-07/0.3906, allocations: 0 / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.3906, allocations: 0 / 1.07 GB, free: 8.727 MB / 0.8262 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.0004582/0.3911, allocations: 381.4 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.3911, allocations: 8.031 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.209e-05/0.3912, allocations: 4.938 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.3913, allocations: 168.3 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.3913, allocations: 12.38 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.3913, allocations: 384 / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.3914, allocations: 42.19 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.3915, allocations: 192 / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.3915, allocations: 3.938 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.3915, allocations: 0 / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.334e-05/0.3915, allocations: 7.984 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001572/0.3917, allocations: 157.7 kB / 1.07 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.996e-05/0.3918, allocations: 30.58 kB / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.414e-05/0.3918, allocations: 12.94 kB / 1.07 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.428e-06/0.3918, allocations: 7.984 kB / 1.07 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001351/0.392, allocations: 55.34 kB / 1.07 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.392, allocations: 0 / 1.07 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001926/0.3922, allocations: 69.61 kB / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.3922, allocations: 55.41 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.67e-05/0.3923, allocations: 105.8 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.3923, allocations: 37.58 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.746e-05/0.3924, allocations: 92.12 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.3924, allocations: 15.73 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.171e-05/0.3924, allocations: 21.72 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.68e-05/0.3925, allocations: 314.8 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.068e-05/0.3926, allocations: 11.92 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.482e-05/0.3926, allocations: 35.44 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.721e-05/0.3927, allocations: 47.36 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3927, allocations: 0 / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001008/0.3928, allocations: 69.91 kB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.3928, allocations: 7.938 kB / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3928, allocations: 4 kB / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.3928, allocations: 4 kB / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.679e-05/0.3929, allocations: 8 kB / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.3929, allocations: 3.984 kB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.474e-05/0.3929, allocations: 0 / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.393, allocations: 4 kB / 1.071 GB, free: 6.707 MB / 0.8262 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.653e-05/0.393, allocations: 119.3 kB / 1.071 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.411e-05/0.3931, allocations: 11.91 kB / 1.071 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.691e-05/0.3931, allocations: 7.906 kB / 1.071 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.3931, allocations: 0 / 1.071 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3931, allocations: 0 / 1.071 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3931, allocations: 0 / 1.071 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.3933, allocations: 157.7 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3933, allocations: 0 / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.588e-05/0.3933, allocations: 4 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.3933, allocations: 3.938 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-06/0.3933, allocations: 0 / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3933, allocations: 0 / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3933, allocations: 4 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.3935, allocations: 97.08 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.223e-05/0.3935, allocations: 81.02 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.3935, allocations: 3.938 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.433e-05/0.3936, allocations: 4 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.429e-05/0.3936, allocations: 3.984 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.3936, allocations: 4.219 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.657e-05/0.3937, allocations: 87.28 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3937, allocations: 4 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002569/0.3939, allocations: 31.98 kB / 1.072 GB, free: 5.992 MB / 0.8262 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.0003394/0.3943, allocations: 175.5 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001026/0.3944, allocations: 27.92 kB / 1.072 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3944, allocations: 4.188 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.457e-05/0.3944, allocations: 8 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.3946, allocations: 11.98 kB / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002285/0.3948, allocations: 108.9 kB / 1.072 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.3951, allocations: 0.6809 MB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.608e-05/0.3951, allocations: 4 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.755e-05/0.3951, allocations: 15.38 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3951, allocations: 0 / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of Templates: time 0.003378/0.3985, allocations: 1.062 MB / 1.074 GB, free: 3.855 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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