Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.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.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 102 kB / 16.35 MB, free: 5.824 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.001587/0.001587, allocations: 193.9 kB / 17.29 MB, free: 5.48 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.43/1.43, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.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.544/2.544, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 65.67 kB / 0.8707 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3151, allocations: 151.7 MB / 1.019 GB, free: 9.852 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002399/0.3176, allocations: 1.205 MB / 1.02 GB, free: 8.633 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008383/0.3184, allocations: 444 kB / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.44e-05/0.3185, allocations: 0 / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.858e-05/0.3185, allocations: 0 / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.093e-05/0.3185, allocations: 3.938 kB / 1.02 GB, free: 8.195 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000543/0.3191, allocations: 107.6 kB / 1.02 GB, free: 8.09 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.777e-05/0.3192, allocations: 15.98 kB / 1.02 GB, free: 8.074 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.472e-05/0.3192, allocations: 4 kB / 1.02 GB, free: 8.07 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.418e-05/0.3193, allocations: 15.91 kB / 1.021 GB, free: 8.055 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.957e-05/0.3193, allocations: 4 kB / 1.021 GB, free: 8.051 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.3193, allocations: 3.938 kB / 1.021 GB, free: 8.047 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001958/0.3195, allocations: 107.8 kB / 1.021 GB, free: 7.941 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.648e-05/0.3195, allocations: 4 kB / 1.021 GB, free: 7.938 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.361e-05/0.3196, allocations: 11.92 kB / 1.021 GB, free: 7.926 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.3198, allocations: 91.88 kB / 1.021 GB, free: 7.836 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3198, allocations: 0 / 1.021 GB, free: 7.836 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3198, allocations: 0 / 1.021 GB, free: 7.836 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.3198, allocations: 4 kB / 1.021 GB, free: 7.832 MB / 0.795 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.0004887/0.3203, allocations: 381 kB / 1.021 GB, free: 7.402 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.3203, allocations: 12.92 kB / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.3204, allocations: 8.781 kB / 1.021 GB, free: 7.383 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.3205, allocations: 164.4 kB / 1.021 GB, free: 7.184 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.3205, allocations: 12.36 kB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.3205, allocations: 384 / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.3207, allocations: 38.25 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.3207, allocations: 192 / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.3207, allocations: 7.938 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.3207, allocations: 0 / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.16e-05/0.3207, allocations: 7.984 kB / 1.021 GB, free: 7.113 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001745/0.3209, allocations: 157.7 kB / 1.021 GB, free: 6.91 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.934e-05/0.321, allocations: 30.52 kB / 1.022 GB, free: 6.871 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.243e-05/0.3211, allocations: 16.94 kB / 1.022 GB, free: 6.852 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 9.808e-06/0.3211, allocations: 0 / 1.022 GB, free: 6.852 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001274/0.3212, allocations: 55.41 kB / 1.022 GB, free: 6.785 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/0.3212, allocations: 0 / 1.022 GB, free: 6.785 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0002239/0.3215, allocations: 73.55 kB / 1.022 GB, free: 6.707 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.3215, allocations: 55.41 kB / 1.022 GB, free: 6.641 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.4e-05/0.3216, allocations: 101.8 kB / 1.022 GB, free: 6.531 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.3216, allocations: 25.7 kB / 1.022 GB, free: 6.5 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.721e-05/0.3216, allocations: 84.14 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.3217, allocations: 19.8 kB / 1.022 GB, free: 6.395 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.3217, allocations: 21.7 kB / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.708e-05/0.3218, allocations: 310.8 kB / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.023e-05/0.3218, allocations: 16 kB / 1.022 GB, free: 6.039 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.544e-05/0.3219, allocations: 27.42 kB / 1.022 GB, free: 6 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.528e-05/0.322, allocations: 55.31 kB / 1.022 GB, free: 5.934 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.322, allocations: 0 / 1.022 GB, free: 5.934 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.648e-05/0.3221, allocations: 70.03 kB / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.3221, allocations: 7.938 kB / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3221, allocations: 3.938 kB / 1.022 GB, free: 5.848 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.3221, allocations: 4 kB / 1.022 GB, free: 5.844 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.659e-05/0.3222, allocations: 8.094 kB / 1.022 GB, free: 5.836 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.607e-06/0.3222, allocations: 4 kB / 1.022 GB, free: 5.832 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.501e-05/0.3222, allocations: 0 / 1.022 GB, free: 5.832 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.3222, allocations: 8 kB / 1.022 GB, free: 5.824 MB / 0.795 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.539e-05/0.3223, allocations: 109.8 kB / 1.023 GB, free: 5.707 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.594e-05/0.3223, allocations: 19.81 kB / 1.023 GB, free: 5.688 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.475e-05/0.3224, allocations: 7.5 kB / 1.023 GB, free: 5.676 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.3224, allocations: 0 / 1.023 GB, free: 5.676 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3224, allocations: 0 / 1.023 GB, free: 5.676 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3224, allocations: 4 kB / 1.023 GB, free: 5.672 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.3225, allocations: 149.7 kB / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3225, allocations: 0 / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.346e-05/0.3225, allocations: 7.938 kB / 1.023 GB, free: 5.469 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3226, allocations: 3.938 kB / 1.023 GB, free: 5.465 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.3226, allocations: 0 / 1.023 GB, free: 5.465 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.3226, allocations: 3.984 kB / 1.023 GB, free: 5.461 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3226, allocations: 0 / 1.023 GB, free: 5.461 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.3227, allocations: 89.12 kB / 1.023 GB, free: 5.355 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.275e-05/0.3227, allocations: 77.11 kB / 1.023 GB, free: 5.262 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.3228, allocations: 7.922 kB / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.981e-05/0.3228, allocations: 3.938 kB / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.168e-05/0.3228, allocations: 4 kB / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.3228, allocations: 0 / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.169e-05/0.3229, allocations: 79.28 kB / 1.023 GB, free: 5.168 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3229, allocations: 0 / 1.023 GB, free: 5.168 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000242/0.3231, allocations: 35.98 kB / 1.023 GB, free: 5.133 MB / 0.795 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.0003557/0.3235, allocations: 168 kB / 1.023 GB, free: 4.977 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001119/0.3236, allocations: 31.97 kB / 1.023 GB, free: 4.945 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3236, allocations: 0 / 1.023 GB, free: 4.945 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.693e-05/0.3237, allocations: 15.92 kB / 1.023 GB, free: 4.93 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001348/0.3238, allocations: 11.94 kB / 1.023 GB, free: 4.918 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002353/0.324, allocations: 101.2 kB / 1.023 GB, free: 4.793 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.3243, allocations: 0.6807 MB / 1.024 GB, free: 4.086 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.764e-05/0.3243, allocations: 0 / 1.024 GB, free: 4.086 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.673e-05/0.3243, allocations: 11.44 kB / 1.024 GB, free: 4.074 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.3243, allocations: 0 / 1.024 GB, free: 4.074 MB / 0.795 GB Notification: Performance of Templates: time 0.003225/0.3275, allocations: 1.039 MB / 1.025 GB, free: 3.035 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,seed,t0,time,y