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.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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_10_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.007302/0.007302, allocations: 101 kB / 15.73 MB, free: 6.055 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.001791/0.001791, allocations: 192.3 kB / 16.67 MB, free: 5.969 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.48/1.48, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.58/2.58, allocations: 437 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 71.83 kB / 1.018 GB, free: 9.926 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7506/0.7526, allocations: 151.6 MB / 1.166 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.00216/0.7548, allocations: 1.215 MB / 1.167 GB, free: 2.562 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008203/0.7556, allocations: 437 kB / 1.168 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.15e-05/0.7556, allocations: 0 / 1.168 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.687e-05/0.7557, allocations: 3.938 kB / 1.168 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.719e-05/0.7557, allocations: 0 / 1.168 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004827/0.7562, allocations: 111.6 kB / 1.168 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.934e-05/0.7563, allocations: 15.97 kB / 1.168 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.637e-05/0.7563, allocations: 4 kB / 1.168 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.33e-05/0.7563, allocations: 11.94 kB / 1.168 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.715e-05/0.7564, allocations: 7.984 kB / 1.168 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.7564, allocations: 4 kB / 1.168 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002141/0.7566, allocations: 107.8 kB / 1.168 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.668e-05/0.7566, allocations: 7.922 kB / 1.168 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.905e-05/0.7566, allocations: 11.98 kB / 1.168 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.7568, allocations: 87.47 kB / 1.168 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.7569, allocations: 4 kB / 1.168 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7569, allocations: 0 / 1.168 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.596e-06/0.7569, allocations: 0 / 1.168 GB, free: 1.77 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.0005037/0.7574, allocations: 384.8 kB / 1.168 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.7574, allocations: 12.92 kB / 1.168 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.76e-05/0.7575, allocations: 34.75 kB / 1.169 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.786e-05/0.7575, allocations: 8.891 kB / 1.169 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.7577, allocations: 168.3 kB / 1.169 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.7577, allocations: 8.375 kB / 1.169 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.7577, allocations: 4.359 kB / 1.169 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.7578, allocations: 42.23 kB / 1.169 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.7578, allocations: 3.938 kB / 1.169 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.7578, allocations: 0 / 1.169 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.7579, allocations: 4 kB / 1.169 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.383e-05/0.7579, allocations: 8 kB / 1.169 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003255/0.7582, allocations: 241 kB / 1.169 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 9.773e-05/0.7583, allocations: 42.44 kB / 1.169 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.273e-05/0.7584, allocations: 20.94 kB / 1.169 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 5.801e-06/0.7584, allocations: 0 / 1.169 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001265/0.7585, allocations: 55.41 kB / 1.169 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.7585, allocations: 0 / 1.169 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of matching and sorting (n=5): time 0.000212/0.7588, allocations: 81.56 kB / 1.169 GB, free: 496 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.7588, allocations: 51.41 kB / 1.169 GB, free: 432 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.935e-05/0.7589, allocations: 109.8 kB / 1.169 GB, free: 312 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.7589, allocations: 25.7 kB / 1.169 GB, free: 280 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.623e-05/0.759, allocations: 92.08 kB / 1.169 GB, free: 184 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.759, allocations: 11.91 kB / 1.169 GB, free: 172 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/0.759, allocations: 21.7 kB / 1.169 GB, free: 144 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.7592, allocations: 318.8 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.979e-05/0.7592, allocations: 4 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.825e-05/0.7593, allocations: 35.42 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.448e-05/0.7593, allocations: 51.38 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.696e-06/0.7593, allocations: 3.938 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001141/0.7595, allocations: 69.61 kB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.7595, allocations: 4 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.7595, allocations: 8.219 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.7595, allocations: 3.938 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.857e-05/0.7596, allocations: 15.98 kB / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.7596, allocations: 64 / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.459e-05/0.7596, allocations: 8 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.7596, allocations: 0 / 1.17 GB, free: 15.59 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 (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 9.57e-05/0.7597, allocations: 121.8 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.441e-05/0.7598, allocations: 7.953 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.435e-05/0.7598, allocations: 3.562 kB / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.7598, allocations: 0 / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.7598, allocations: 0 / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.7598, allocations: 0 / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/0.7601, allocations: 310.8 kB / 1.17 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.7601, allocations: 0 / 1.17 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.767e-05/0.7601, allocations: 4 kB / 1.17 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.7601, allocations: 0 / 1.17 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.7602, allocations: 3.984 kB / 1.17 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.7602, allocations: 0 / 1.17 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.7602, allocations: 0 / 1.17 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.7603, allocations: 163.4 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.292e-05/0.7604, allocations: 93 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.7604, allocations: 3.984 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.283e-05/0.7605, allocations: 4 kB / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.883e-05/0.7605, allocations: 0 / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.7605, allocations: 4 kB / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.345e-05/0.7606, allocations: 79.28 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7606, allocations: 0 / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002774/0.7609, allocations: 39.86 kB / 1.171 GB, free: 14.66 MB / 0.9044 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.0007571/0.7616, allocations: 0.7805 MB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001168/0.7617, allocations: 31.98 kB / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.7618, allocations: 0 / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.503e-05/0.7618, allocations: 24.05 kB / 1.172 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.762, allocations: 4 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.7632, allocations: 1.258 MB / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.7635, allocations: 0.6846 MB / 1.173 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.651e-05/0.7635, allocations: 4 kB / 1.173 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.7635, allocations: 15.44 kB / 1.173 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of SimCode: time 2.21e-07/0.7635, allocations: 0 / 1.173 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02322/0.7868, allocations: 2.012 MB / 1.175 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.876/8.662, allocations: 20.56 kB / 1.175 GB, free: 9.785 MB / 0.9044 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Occupants_BaseClasses_Validation_Logit1D.fmu > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.csv","/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:time,y