Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007842/0.007842, allocations: 101.3 kB / 15.73 MB, free: 6.02 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.001936/0.001936, allocations: 194.6 kB / 16.67 MB, free: 5.93 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.549/2.549, allocations: 469.4 MB / 0.7422 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 59.91 kB / 1.064 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7762/0.7783, allocations: 159.1 MB / 1.22 GB, free: 2.266 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002318/0.7807, allocations: 1.224 MB / 1.221 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008752/0.7816, allocations: 446.5 kB / 1.221 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.802e-05/0.7816, allocations: 0 / 1.221 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.925e-05/0.7816, allocations: 0 / 1.221 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.817e-05/0.7817, allocations: 3.938 kB / 1.221 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005633/0.7823, allocations: 115.7 kB / 1.221 GB, free: 488 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.958e-05/0.7824, allocations: 31.84 kB / 1.221 GB, free: 456 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.48e-05/0.7824, allocations: 3.984 kB / 1.221 GB, free: 452 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.548e-05/0.7825, allocations: 8 kB / 1.221 GB, free: 444 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.262e-05/0.7825, allocations: 11.92 kB / 1.222 GB, free: 432 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.7825, allocations: 4 kB / 1.222 GB, free: 428 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002395/0.7828, allocations: 103.8 kB / 1.222 GB, free: 324 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.063e-05/0.7828, allocations: 4 kB / 1.222 GB, free: 320 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.686e-05/0.7829, allocations: 11.92 kB / 1.222 GB, free: 308 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.7831, allocations: 107.4 kB / 1.222 GB, free: 204 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.7831, allocations: 4 kB / 1.222 GB, free: 200 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7831, allocations: 0 / 1.222 GB, free: 200 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.7831, allocations: 0 / 1.222 GB, free: 200 kB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004926/0.7836, allocations: 388.8 kB / 1.222 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.7836, allocations: 12.62 kB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.836e-05/0.7837, allocations: 30.75 kB / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.188e-05/0.7838, allocations: 0.9375 kB / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.7839, allocations: 176.3 kB / 1.222 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.7839, allocations: 4.375 kB / 1.222 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.7839, allocations: 8.359 kB / 1.222 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.784, allocations: 46.19 kB / 1.222 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.7841, allocations: 3.938 kB / 1.222 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.7841, allocations: 0 / 1.222 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-06/0.7841, allocations: 0 / 1.222 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.973e-05/0.7841, allocations: 12 kB / 1.222 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003359/0.7845, allocations: 244.9 kB / 1.223 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.508e-05/0.7846, allocations: 38.52 kB / 1.223 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.617e-05/0.7846, allocations: 20.97 kB / 1.223 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.949e-06/0.7846, allocations: 0 / 1.223 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001603/0.7848, allocations: 59.41 kB / 1.223 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.7848, allocations: 0 / 1.223 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.0002238/0.785, allocations: 85.8 kB / 1.223 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.7851, allocations: 59.34 kB / 1.223 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.586e-05/0.7852, allocations: 105.9 kB / 1.223 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.7852, allocations: 25.7 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.555e-05/0.7852, allocations: 92.09 kB / 1.223 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.7853, allocations: 15.83 kB / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/0.7853, allocations: 25.72 kB / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.427e-05/0.7854, allocations: 310.8 kB / 1.223 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.564e-05/0.7854, allocations: 19.98 kB / 1.223 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.164e-05/0.7855, allocations: 40.28 kB / 1.223 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.091e-05/0.7856, allocations: 52.23 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.7856, allocations: 7.938 kB / 1.224 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001169/0.7857, allocations: 81.55 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.7857, allocations: 8 kB / 1.224 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.7857, allocations: 96 / 1.224 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.7857, allocations: 7.984 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.723e-05/0.7858, allocations: 11.94 kB / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.7858, allocations: 3.938 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.325e-05/0.7859, allocations: 11.94 kB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.7859, allocations: 4 kB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.219e-05/0.786, allocations: 118.4 kB / 1.224 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.151e-05/0.786, allocations: 4 kB / 1.224 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.774e-05/0.786, allocations: 7.969 kB / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.786, allocations: 0 / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.786, allocations: 4 kB / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.786, allocations: 0 / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002477/0.7863, allocations: 306.4 kB / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.7863, allocations: 4 kB / 1.224 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.458e-05/0.7863, allocations: 4 kB / 1.224 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.7863, allocations: 7.984 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.7864, allocations: 4 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.7864, allocations: 0 / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.7864, allocations: 192 / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.7865, allocations: 167.8 kB / 1.224 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.579e-05/0.7866, allocations: 93.03 kB / 1.224 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.7866, allocations: 0 / 1.224 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.325e-05/0.7866, allocations: 0 / 1.224 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.313e-05/0.7867, allocations: 4 kB / 1.224 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.7867, allocations: 7.938 kB / 1.224 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.747e-05/0.7867, allocations: 87.27 kB / 1.224 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7867, allocations: 0 / 1.224 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003032/0.787, allocations: 35.88 kB / 1.224 GB, free: 13 MB / 0.9512 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,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0007367/0.7878, allocations: 0.782 MB / 1.225 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001517/0.788, allocations: 43.86 kB / 1.225 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.788, allocations: 0 / 1.225 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 5.312e-05/0.788, allocations: 15.94 kB / 1.225 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.7883, allocations: 14.22 kB / 1.225 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.7896, allocations: 1.314 MB / 1.227 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.7899, allocations: 0.6768 MB / 1.227 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.252e-05/0.7899, allocations: 8 kB / 1.227 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.139e-05/0.79, allocations: 15.44 kB / 1.227 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of SimCode: time 5.61e-07/0.79, allocations: 0 / 1.227 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02053/0.8105, allocations: 2.109 MB / 1.229 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.663/8.474, allocations: 16.47 kB / 1.229 GB, free: 7.973 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit2D.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:time,y