Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_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.001087/0.001087, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.001389/0.001389, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.748/2.748, allocations: 437.7 MB / 0.7117 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004986/0.0004986, allocations: 11.94 kB / 0.8722 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7901/0.7907, allocations: 153.8 MB / 1.022 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002105/0.7928, allocations: 0.9487 MB / 1.023 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001479/0.7943, allocations: 426.8 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.646e-05/0.7944, allocations: 0 / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.709e-05/0.7944, allocations: 3.938 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.211e-05/0.7945, allocations: 0 / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006806/0.7952, allocations: 99.77 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.173e-05/0.7952, allocations: 15.94 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.421e-05/0.7953, allocations: 3.984 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.772e-05/0.7954, allocations: 4 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.164e-05/0.7954, allocations: 15.92 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.7954, allocations: 0 / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003091/0.7958, allocations: 95.84 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.655e-05/0.7958, allocations: 0 / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.753e-05/0.7959, allocations: 33.69 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.7961, allocations: 67.89 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.7961, allocations: 0 / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7961, allocations: 4 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.7961, allocations: 0 / 1.024 GB, free: 14.32 MB / 0.7794 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.0007253/0.7969, allocations: 378.9 kB / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.7969, allocations: 8.031 kB / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.645e-05/0.797, allocations: 11.89 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.7972, allocations: 167 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.923e-05/0.7973, allocations: 4 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.7973, allocations: 0 / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.7975, allocations: 45.64 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.7975, allocations: 4 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.7975, allocations: 0 / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.7975, allocations: 4 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.418e-05/0.7976, allocations: 7.984 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002449/0.7979, allocations: 153.7 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.798, allocations: 34.55 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.338e-05/0.7981, allocations: 12.86 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.7981, allocations: 4 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002259/0.7984, allocations: 63.44 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 2.235e-06/0.7984, allocations: 0 / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003186/0.7987, allocations: 65.62 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.301e-05/0.7988, allocations: 59.33 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.799, allocations: 105.8 kB / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.799, allocations: 29.7 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.531e-05/0.7991, allocations: 84.12 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.878e-05/0.7992, allocations: 11.91 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-06/0.7992, allocations: 0 / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002196/0.7994, allocations: 314.8 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.636e-05/0.7995, allocations: 7.984 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.677e-05/0.7996, allocations: 39.41 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.84e-05/0.7996, allocations: 16.19 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.7996, allocations: 3.938 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001869/0.7998, allocations: 77.53 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.29e-05/0.7999, allocations: 7.953 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.8, allocations: 0 / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.8, allocations: 4 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.8001, allocations: 4 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.8001, allocations: 8.094 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.453e-05/0.8002, allocations: 0 / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.8002, allocations: 4 kB / 1.026 GB, free: 12.38 MB / 0.7794 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001287/0.8004, allocations: 113.8 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.8004, allocations: 11.84 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.611e-05/0.8004, allocations: 7.859 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.8005, allocations: 0 / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.8005, allocations: 0 / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.8005, allocations: 0 / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.8007, allocations: 165.6 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.8008, allocations: 0 / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.154e-05/0.8008, allocations: 0 / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.8008, allocations: 0 / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.8008, allocations: 7.984 kB / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.8008, allocations: 3.953 kB / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.8009, allocations: 0 / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.8011, allocations: 77.12 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.253e-05/0.8011, allocations: 93 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.8012, allocations: 0 / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.787e-05/0.8012, allocations: 4.25 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.726e-05/0.8013, allocations: 3.953 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.8013, allocations: 8 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.146e-05/0.8014, allocations: 87.2 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.11e-07/0.8014, allocations: 0 / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004832/0.8019, allocations: 36 kB / 1.026 GB, free: 11.67 MB / 0.7794 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 (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.0005247/0.8024, allocations: 167.3 kB / 1.026 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001666/0.8026, allocations: 35.92 kB / 1.026 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.8026, allocations: 0 / 1.026 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.313e-05/0.8027, allocations: 8 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.803, allocations: 7.734 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000391/0.8034, allocations: 118.3 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004541/0.8039, allocations: 0.6809 MB / 1.027 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.852e-05/0.8039, allocations: 3.984 kB / 1.027 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.607e-05/0.804, allocations: 11.44 kB / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of SimCode: time 5.51e-07/0.804, allocations: 0 / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of Templates: time 0.005851/0.8098, allocations: 1.038 MB / 1.028 GB, free: 9.559 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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