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.001483/0.001483, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00171/0.00171, allocations: 190.7 kB / 16.25 MB, free: 6.621 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.29/1.29, allocations: 222.9 MB / 239.9 MB, free: 4.402 MB / 190.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.493/2.493, allocations: 437 MB / 0.7101 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002482/0.002482, allocations: 63.89 kB / 0.8688 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.182/1.184, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002501/1.187, allocations: 1.276 MB / 1.018 GB, free: 1.492 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009082/1.188, allocations: 434.6 kB / 1.019 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.414e-05/1.188, allocations: 0 / 1.019 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.221e-05/1.188, allocations: 0 / 1.019 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.495e-05/1.188, allocations: 0 / 1.019 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007529/1.189, allocations: 99.77 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.454e-05/1.189, allocations: 15.94 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.803e-05/1.189, allocations: 3.984 kB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.949e-05/1.189, allocations: 7.938 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.298e-05/1.189, allocations: 15.98 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/1.189, allocations: 0 / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002508/1.189, allocations: 99.84 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.05e-05/1.189, allocations: 11.91 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.782e-05/1.189, allocations: 8 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002346/1.19, allocations: 95.81 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.19, allocations: 3.938 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.124e-06/1.19, allocations: 0 / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.893e-06/1.19, allocations: 0 / 1.019 GB, free: 0.7109 MB / 0.7637 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.0004848/1.19, allocations: 383.4 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/1.19, allocations: 12.03 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.916e-05/1.19, allocations: 38.75 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/1.19, allocations: 4.844 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/1.19, allocations: 172.4 kB / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/1.19, allocations: 384 / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/1.19, allocations: 4.375 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/1.19, allocations: 46.28 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/1.191, allocations: 3.938 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/1.191, allocations: 0 / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/1.191, allocations: 8 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.224e-05/1.191, allocations: 4 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002908/1.191, allocations: 240.9 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.379e-05/1.191, allocations: 42.5 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.81e-05/1.191, allocations: 20.88 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/1.191, allocations: 4 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001508/1.191, allocations: 59.41 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.462e-06/1.191, allocations: 0 / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0002169/1.191, allocations: 73.58 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/1.191, allocations: 55.34 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.478e-05/1.192, allocations: 101.8 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/1.192, allocations: 25.7 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.104e-05/1.192, allocations: 92.14 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.388e-05/1.192, allocations: 3.906 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.668e-05/1.192, allocations: 21.72 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.01e-05/1.192, allocations: 318.8 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.901e-05/1.192, allocations: 4 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.792e-05/1.192, allocations: 35.42 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.551e-05/1.192, allocations: 51.38 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.227e-06/1.192, allocations: 3.938 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001054/1.192, allocations: 81.73 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/1.192, allocations: 8 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/1.192, allocations: 3.828 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/1.192, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.823e-05/1.192, allocations: 12 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/1.192, allocations: 12.14 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.483e-05/1.192, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/1.192, allocations: 4 kB / 1.021 GB, free: 14.54 MB / 0.7794 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 7.349e-05/1.192, allocations: 122.2 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.108e-05/1.192, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.921e-05/1.192, allocations: 3.562 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/1.192, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/1.192, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/1.192, allocations: 4 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/1.193, allocations: 322.6 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/1.193, allocations: 0 / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.766e-05/1.193, allocations: 4 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/1.193, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/1.193, allocations: 4 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/1.193, allocations: 3.984 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.193, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/1.193, allocations: 163.5 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.148e-05/1.193, allocations: 81.11 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/1.193, allocations: 0 / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.322e-05/1.193, allocations: 7.922 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.199e-05/1.193, allocations: 4 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/1.193, allocations: 0 / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.058e-05/1.193, allocations: 79.28 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/1.193, allocations: 0 / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002712/1.193, allocations: 43.92 kB / 1.022 GB, free: 13.61 MB / 0.7794 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.0006965/1.194, allocations: 0.7718 MB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001229/1.194, allocations: 35.91 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.194, allocations: 4.125 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.281e-05/1.194, allocations: 23.92 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/1.194, allocations: 7.812 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/1.195, allocations: 1.261 MB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/1.196, allocations: 0.6807 MB / 1.024 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.831e-05/1.196, allocations: 0 / 1.024 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.219e-05/1.196, allocations: 15.44 kB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/1.196, allocations: 0 / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9535/2.149, allocations: 1.908 MB / 1.026 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003202/2.15, allocations: 247.2 kB / 1.026 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.232/4.381, allocations: 0 / 1.026 GB, free: 8.629 MB / 0.7794 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_BaseClasses_Validation_Logit1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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:A,B,seed,time,x,y