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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001541/0.001541, allocations: 104.8 kB / 15.99 MB, free: 5.883 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.001663/0.001663, allocations: 194.6 kB / 16.9 MB, free: 5.746 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.363/1.363, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.575/2.575, allocations: 469.4 MB / 0.7423 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 61.3 kB / 0.9083 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2916, allocations: 159.1 MB / 1.064 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002298/0.2939, allocations: 1.282 MB / 1.065 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00083/0.2947, allocations: 462.5 kB / 1.065 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.392e-05/0.2948, allocations: 0 / 1.065 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.32e-05/0.2948, allocations: 3.984 kB / 1.065 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.415e-05/0.2949, allocations: 4 kB / 1.065 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005254/0.2954, allocations: 95.72 kB / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.096e-05/0.2955, allocations: 23.92 kB / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.865e-05/0.2955, allocations: 0 / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.114e-05/0.2955, allocations: 8 kB / 1.066 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.182e-05/0.2956, allocations: 15.91 kB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.2956, allocations: 0 / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002072/0.2958, allocations: 107.8 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.2958, allocations: 4 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.2959, allocations: 7.938 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.296, allocations: 83.81 kB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.296, allocations: 0 / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.024e-06/0.296, allocations: 0 / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.296, allocations: 0 / 1.066 GB, free: 13.3 MB / 0.8419 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.0004585/0.2965, allocations: 385.4 kB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2966, allocations: 8.625 kB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.539e-05/0.2966, allocations: 4.938 kB / 1.066 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.2967, allocations: 160.4 kB / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.2967, allocations: 4.375 kB / 1.066 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.2967, allocations: 12.36 kB / 1.066 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.891e-05/0.2968, allocations: 42.17 kB / 1.066 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.2969, allocations: 192 / 1.066 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.2969, allocations: 7.938 kB / 1.066 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.2969, allocations: 0 / 1.066 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.205e-05/0.2969, allocations: 4 kB / 1.066 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001542/0.2971, allocations: 165.6 kB / 1.067 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.884e-05/0.2972, allocations: 26.58 kB / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.299e-05/0.2972, allocations: 12.86 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.2972, allocations: 4.078 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/0.2974, allocations: 71.28 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.2974, allocations: 0 / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0002104/0.2976, allocations: 69.61 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.2977, allocations: 51.41 kB / 1.067 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.852e-05/0.2977, allocations: 109.8 kB / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.2978, allocations: 25.7 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.866e-05/0.2978, allocations: 92.08 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.2978, allocations: 11.78 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.474e-05/0.2979, allocations: 21.7 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.298, allocations: 318.8 kB / 1.067 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.849e-05/0.298, allocations: 4 kB / 1.067 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.848e-05/0.298, allocations: 43.41 kB / 1.067 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.752e-05/0.2981, allocations: 43.38 kB / 1.067 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.2981, allocations: 0 / 1.067 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.874e-05/0.2982, allocations: 73.52 kB / 1.067 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.2982, allocations: 12.03 kB / 1.067 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.2982, allocations: 0 / 1.067 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.2983, allocations: 4 kB / 1.067 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.344e-05/0.2983, allocations: 4 kB / 1.067 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.2984, allocations: 7.938 kB / 1.067 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.377e-05/0.2984, allocations: 0 / 1.067 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.2984, allocations: 4 kB / 1.067 GB, free: 11.27 MB / 0.8419 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 7.178e-05/0.2985, allocations: 117.8 kB / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.2985, allocations: 7.844 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.188e-05/0.2985, allocations: 8.141 kB / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.2985, allocations: 0 / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2985, allocations: 4 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.2985, allocations: 3.984 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.2987, allocations: 157.7 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2987, allocations: 0 / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.344e-05/0.2987, allocations: 0 / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.2987, allocations: 7.938 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.2987, allocations: 3.984 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.2987, allocations: 0 / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2987, allocations: 0 / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.2989, allocations: 93.06 kB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.557e-05/0.2989, allocations: 85 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.2989, allocations: 4.188 kB / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.398e-05/0.299, allocations: 4 kB / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.753e-05/0.299, allocations: 4 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.299, allocations: 0 / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.924e-05/0.299, allocations: 91.2 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.299, allocations: 7.938 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002458/0.2993, allocations: 28 kB / 1.068 GB, free: 10.56 MB / 0.8419 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.0003017/0.2996, allocations: 167.1 kB / 1.068 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001038/0.2997, allocations: 27.92 kB / 1.068 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2997, allocations: 192 / 1.068 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.102e-05/0.2998, allocations: 16 kB / 1.068 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/0.2999, allocations: 4 kB / 1.068 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002476/0.3002, allocations: 138.7 kB / 1.068 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.3004, allocations: 0.6807 MB / 1.069 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.672e-05/0.3004, allocations: 7.438 kB / 1.069 GB, free: 9.473 MB / 0.8419 GB Notification: Performance of SimCode: time 6.52e-07/0.3004, allocations: 0 / 1.069 GB, free: 9.473 MB / 0.8419 GB Notification: Performance of Templates: time 0.002871/0.3033, allocations: 1.261 MB / 1.07 GB, free: 8.211 MB / 0.8419 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches