Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit1D",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.004183/0.004183, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001249/0.001249, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.84/2.84, allocations: 469.8 MB / 0.7425 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 68.11 kB / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2749, allocations: 159.1 MB / 1.22 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002308/0.2772, allocations: 1.215 MB / 1.221 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008819/0.2781, allocations: 428.4 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.114e-05/0.2782, allocations: 3.938 kB / 1.222 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.738e-05/0.2782, allocations: 0 / 1.222 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.122e-05/0.2782, allocations: 0 / 1.222 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000512/0.2787, allocations: 111.6 kB / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.482e-05/0.2788, allocations: 23.98 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.288e-05/0.2789, allocations: 0 / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.786e-05/0.2789, allocations: 15.92 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.653e-05/0.2789, allocations: 7.984 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.2789, allocations: 0 / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002157/0.2792, allocations: 103.8 kB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.2792, allocations: 7.938 kB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.633e-05/0.2792, allocations: 7.938 kB / 1.222 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.2794, allocations: 95.8 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.2794, allocations: 0 / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2794, allocations: 0 / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.2795, allocations: 4 kB / 1.222 GB, free: 12.37 MB / 0.9825 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.0005017/0.28, allocations: 384.8 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.28, allocations: 8.031 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.385e-05/0.2801, allocations: 38.7 kB / 1.223 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.348e-05/0.2801, allocations: 0.9375 kB / 1.223 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.2802, allocations: 164.3 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.381e-05/0.2803, allocations: 8.359 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.2803, allocations: 8.359 kB / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.2804, allocations: 42.25 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.2804, allocations: 3.938 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.2804, allocations: 0 / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.2804, allocations: 0 / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.373e-05/0.2805, allocations: 8 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000331/0.2808, allocations: 252.8 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.696e-05/0.2809, allocations: 34.52 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.904e-05/0.281, allocations: 24.94 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.281, allocations: 0 / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001421/0.2811, allocations: 55.41 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/0.2812, allocations: 0 / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0002098/0.2814, allocations: 81.56 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.2814, allocations: 55.41 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.309e-05/0.2815, allocations: 105.8 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.2815, allocations: 25.7 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.174e-05/0.2816, allocations: 80.14 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.2816, allocations: 23.83 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.2817, allocations: 21.7 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.2818, allocations: 314.8 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.229e-05/0.2818, allocations: 8 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.763e-05/0.2819, allocations: 39.42 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.156e-05/0.282, allocations: 51.36 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.282, allocations: 3.938 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001238/0.2821, allocations: 73.73 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.2821, allocations: 8 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.2821, allocations: 112 / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.2822, allocations: 7.984 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.189e-05/0.2822, allocations: 11.98 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.2822, allocations: 0 / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.786e-05/0.2823, allocations: 11.95 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.2823, allocations: 4 kB / 1.224 GB, free: 10.18 MB / 0.9825 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 (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 (8): * Single equations (assignments): 8 * 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 0.0001072/0.2824, allocations: 109.8 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.545e-05/0.2824, allocations: 4 kB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.968e-05/0.2824, allocations: 11.5 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2825, allocations: 4 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.2825, allocations: 0 / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.2825, allocations: 3.984 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002947/0.2828, allocations: 294.6 kB / 1.224 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2828, allocations: 0 / 1.224 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.908e-05/0.2828, allocations: 4 kB / 1.224 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2828, allocations: 0 / 1.224 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.2828, allocations: 4.297 kB / 1.224 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2828, allocations: 0 / 1.224 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.2828, allocations: 11.94 kB / 1.224 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.283, allocations: 167.4 kB / 1.225 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.395e-05/0.2831, allocations: 85.05 kB / 1.225 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.2831, allocations: 3.984 kB / 1.225 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.307e-05/0.2832, allocations: 0 / 1.225 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.2832, allocations: 4 kB / 1.225 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/0.2832, allocations: 4 kB / 1.225 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.116e-05/0.2833, allocations: 83.27 kB / 1.225 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2833, allocations: 0 / 1.225 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000296/0.2836, allocations: 39.88 kB / 1.225 GB, free: 9.27 MB / 0.9825 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 (5): * Single equations (assignments): 3 * 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.0007772/0.2844, allocations: 0.766 MB / 1.226 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001181/0.2845, allocations: 40.16 kB / 1.226 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.592e-06/0.2845, allocations: 0 / 1.226 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.117e-05/0.2845, allocations: 15.98 kB / 1.226 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.2848, allocations: 4 kB / 1.226 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.286, allocations: 1.281 MB / 1.227 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.2863, allocations: 0.6807 MB / 1.227 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.586e-05/0.2863, allocations: 4.188 kB / 1.227 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.509e-05/0.2864, allocations: 19.42 kB / 1.228 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of SimCode: time 4.81e-07/0.2864, allocations: 0 / 1.228 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02279/0.3092, allocations: 2.02 MB / 1.229 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.6/7.91, allocations: 4 kB / 1.229 GB, free: 4.395 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit1D.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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:time,y