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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001432/0.001432, allocations: 115.5 kB / 16.42 MB, free: 5.988 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.001668/0.001668, allocations: 184.5 kB / 17.35 MB, free: 5.602 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.325/1.325, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.447/2.447, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 60.31 kB / 1.019 GB, free: 9.465 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7076/0.7089, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002167/0.7111, allocations: 1.228 MB / 1.168 GB, free: 2.652 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008621/0.712, allocations: 472.8 kB / 1.169 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.801e-05/0.712, allocations: 3.938 kB / 1.169 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.647e-05/0.7121, allocations: 0 / 1.169 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.705e-05/0.7121, allocations: 3.938 kB / 1.169 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000559/0.7127, allocations: 111.6 kB / 1.169 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.525e-05/0.7128, allocations: 23.92 kB / 1.169 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.126e-05/0.7128, allocations: 4 kB / 1.169 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.096e-05/0.7128, allocations: 7.938 kB / 1.169 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.406e-05/0.7129, allocations: 15.92 kB / 1.169 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.7129, allocations: 0 / 1.169 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002156/0.7131, allocations: 107.8 kB / 1.169 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.083e-05/0.7131, allocations: 8 kB / 1.169 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.894e-05/0.7132, allocations: 7.922 kB / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.7134, allocations: 91.81 kB / 1.169 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.7134, allocations: 4 kB / 1.169 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.163e-06/0.7134, allocations: 4 kB / 1.169 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.7134, allocations: 0 / 1.169 GB, free: 1.805 MB / 0.8887 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.0004784/0.7139, allocations: 385 kB / 1.17 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.7139, allocations: 8.922 kB / 1.17 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.714, allocations: 4.938 kB / 1.17 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.7141, allocations: 168.3 kB / 1.17 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.7141, allocations: 8.312 kB / 1.17 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.7141, allocations: 384 / 1.17 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.7142, allocations: 50.19 kB / 1.17 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.7143, allocations: 192 / 1.17 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.7143, allocations: 3.938 kB / 1.17 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.7143, allocations: 0 / 1.17 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.309e-05/0.7143, allocations: 7.984 kB / 1.17 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001487/0.7145, allocations: 153.7 kB / 1.17 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8e-05/0.7146, allocations: 30.56 kB / 1.17 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.164e-05/0.7146, allocations: 8.859 kB / 1.17 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.7146, allocations: 4 kB / 1.17 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001301/0.7147, allocations: 63.42 kB / 1.17 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.733e-06/0.7148, allocations: 0 / 1.17 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0002/0.715, allocations: 65.62 kB / 1.17 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.715, allocations: 55.41 kB / 1.17 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.609e-05/0.7151, allocations: 109.8 kB / 1.17 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.7151, allocations: 25.7 kB / 1.17 GB, free: 484 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.588e-05/0.7152, allocations: 88.14 kB / 1.17 GB, free: 392 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.7152, allocations: 21.56 kB / 1.171 GB, free: 372 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.509e-05/0.7152, allocations: 17.72 kB / 1.171 GB, free: 348 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 8.859e-05/0.7153, allocations: 318.8 kB / 1.171 GB, free: 20 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.372e-05/0.7153, allocations: 8 kB / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.686e-05/0.7154, allocations: 35.38 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.824e-05/0.7155, allocations: 47.36 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.7155, allocations: 0 / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.929e-05/0.7156, allocations: 69.8 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.7156, allocations: 4 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.7156, allocations: 7.938 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.7156, allocations: 4.094 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.857e-05/0.7157, allocations: 11.98 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.7157, allocations: 0 / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.739e-05/0.7157, allocations: 4 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.7158, allocations: 4 kB / 1.171 GB, free: 15.8 MB / 0.9044 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.445e-05/0.7158, allocations: 113.8 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.475e-05/0.7159, allocations: 3.906 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.693e-05/0.7159, allocations: 15.78 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.7159, allocations: 0 / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.7159, allocations: 8 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.587e-05/0.7159, allocations: 85.28 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.716, allocations: 0 / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.482e-05/0.716, allocations: 4 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.753e-05/0.716, allocations: 4 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001384/0.7162, allocations: 136.9 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001659/0.7163, allocations: 242.6 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.225e-05/0.7164, allocations: 12 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.811e-05/0.7164, allocations: 83.28 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of Backend: time 3.91e-07/0.7164, allocations: 0 / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000572/0.717, allocations: 171.5 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0003506/0.7174, allocations: 0.5489 MB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of Templates: time 0.003434/0.7208, allocations: 1.097 MB / 1.173 GB, free: 13.19 MB / 0.9044 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/jenkins1/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