Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_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.001586/0.001592, allocations: 105.2 kB / 16.36 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.001639/0.00164, allocations: 190.5 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.534/2.534, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001292, allocations: 64 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3096, allocations: 153 MB / 1.027 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002506/0.3121, allocations: 1.217 MB / 1.028 GB, free: 0.8242 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009177/0.3131, allocations: 437 kB / 1.028 GB, free: 408 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.664e-05/0.3131, allocations: 8 kB / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.601e-05/0.3131, allocations: 0 / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.598e-05/0.3132, allocations: 3.938 kB / 1.028 GB, free: 396 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000613/0.3138, allocations: 103.6 kB / 1.028 GB, free: 292 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.6e-05/0.3139, allocations: 23.86 kB / 1.028 GB, free: 268 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.251e-05/0.314, allocations: 4 kB / 1.028 GB, free: 264 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.64e-05/0.314, allocations: 11.92 kB / 1.028 GB, free: 252 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.477e-05/0.314, allocations: 7.938 kB / 1.028 GB, free: 244 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.3141, allocations: 4 kB / 1.028 GB, free: 240 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002141/0.3143, allocations: 99.89 kB / 1.029 GB, free: 140 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.077e-05/0.3143, allocations: 8 kB / 1.029 GB, free: 132 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.403e-05/0.3143, allocations: 15.91 kB / 1.029 GB, free: 116 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.3145, allocations: 87.83 kB / 1.029 GB, free: 28 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3145, allocations: 3.938 kB / 1.029 GB, free: 24 kB / 0.795 GB Notification: Performance of FrontEnd: time 2.875e-06/0.3145, allocations: 4 kB / 1.029 GB, free: 20 kB / 0.795 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.3146, allocations: 0 / 1.029 GB, free: 20 kB / 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.0005138/0.3151, allocations: 378.4 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.3151, allocations: 8.031 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.3152, allocations: 4.844 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.3153, allocations: 176.4 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.3153, allocations: 384 / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.3153, allocations: 4.375 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.3154, allocations: 38.25 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.3155, allocations: 192 / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.3155, allocations: 3.938 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.3155, allocations: 0 / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.604e-05/0.3155, allocations: 15.91 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001556/0.3157, allocations: 153.7 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.493e-05/0.3158, allocations: 30.58 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.228e-05/0.3158, allocations: 12.94 kB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.3158, allocations: 0 / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001259/0.316, allocations: 63.34 kB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.316, allocations: 0 / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002106/0.3162, allocations: 73.61 kB / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.3162, allocations: 51.41 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.004e-05/0.3163, allocations: 105.8 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.3163, allocations: 29.7 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.185e-05/0.3164, allocations: 84.14 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.3164, allocations: 3.906 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.993e-05/0.3164, allocations: 25.7 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.792e-05/0.3165, allocations: 318.8 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.961e-05/0.3166, allocations: 8 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.855e-05/0.3166, allocations: 43.34 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.947e-05/0.3167, allocations: 39.44 kB / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3167, allocations: 0 / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001069/0.3168, allocations: 77.55 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.3168, allocations: 7.938 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.3168, allocations: 4 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.3168, allocations: 3.938 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.601e-05/0.3169, allocations: 8 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.3169, allocations: 0 / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.233e-05/0.317, allocations: 0 / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.317, allocations: 4 kB / 1.03 GB, free: 14.02 MB / 0.8106 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 9.008e-05/0.3171, allocations: 129.8 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.448e-05/0.3171, allocations: 11.83 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.684e-05/0.3171, allocations: 3.5 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.3171, allocations: 0 / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3171, allocations: 4 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3171, allocations: 0 / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.3173, allocations: 153.7 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3173, allocations: 432 / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.059e-05/0.3174, allocations: 0 / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.3174, allocations: 3.938 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.3174, allocations: 8 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3174, allocations: 0 / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3174, allocations: 3.984 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.3175, allocations: 81.11 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.201e-05/0.3176, allocations: 77.11 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.3176, allocations: 15.86 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.047e-05/0.3176, allocations: 0 / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.996e-05/0.3177, allocations: 0 / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.3177, allocations: 8 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.215e-05/0.3177, allocations: 79.28 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3177, allocations: 0 / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002417/0.318, allocations: 31.98 kB / 1.031 GB, free: 13.32 MB / 0.8106 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.0003368/0.3183, allocations: 169.9 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001154/0.3184, allocations: 35.92 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3184, allocations: 0 / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.705e-05/0.3185, allocations: 15.98 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.3186, allocations: 0 / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002364/0.3189, allocations: 104.8 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.3191, allocations: 0.6768 MB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.725e-05/0.3191, allocations: 0 / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.549e-05/0.3191, allocations: 11.62 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.3191, allocations: 4 kB / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of Templates: time 0.003241/0.3224, allocations: 1.058 MB / 1.033 GB, free: 11.2 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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