Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Logit2D,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_10_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.001193/0.001193, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001198/0.001198, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.357/1.357, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.527/2.527, allocations: 437 MB / 0.7101 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 63.89 kB / 0.8689 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.682/0.6833, allocations: 151.6 MB / 1.017 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002573/0.6859, allocations: 1.299 MB / 1.018 GB, free: 1.398 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008401/0.6868, allocations: 446.6 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.486e-05/0.6869, allocations: 0 / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.691e-05/0.6869, allocations: 4 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.478e-05/0.6869, allocations: 3.938 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000527/0.6875, allocations: 91.78 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.352e-05/0.6875, allocations: 23.92 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.079e-05/0.6876, allocations: 7.984 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.955e-05/0.6876, allocations: 8 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.699e-05/0.6876, allocations: 7.922 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.6877, allocations: 8 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002082/0.6879, allocations: 107.8 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.704e-05/0.6879, allocations: 4 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.15e-05/0.6879, allocations: 19.91 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.6881, allocations: 95.81 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.6881, allocations: 0 / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6882, allocations: 0 / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.6882, allocations: 0 / 1.019 GB, free: 0.5859 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004253/0.6886, allocations: 391.4 kB / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.6886, allocations: 12.03 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.907e-05/0.6887, allocations: 38.66 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.576e-05/0.6887, allocations: 8.875 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.6888, allocations: 172.2 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.6889, allocations: 8.359 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.6889, allocations: 4.375 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.689, allocations: 38.25 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.689, allocations: 3.938 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.689, allocations: 4 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-06/0.689, allocations: 8 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.804e-05/0.6891, allocations: 4 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002991/0.6894, allocations: 252.9 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.637e-05/0.6895, allocations: 30.52 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.025e-05/0.6895, allocations: 20.97 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.817e-06/0.6895, allocations: 4 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001614/0.6897, allocations: 63.3 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.6897, allocations: 0 / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0001977/0.6899, allocations: 77.62 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.69, allocations: 55.41 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.975e-05/0.69, allocations: 101.8 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.6901, allocations: 33.7 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.622e-05/0.6901, allocations: 84.14 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.6901, allocations: 19.8 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-05/0.6902, allocations: 17.72 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.835e-05/0.6903, allocations: 322.8 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.013e-05/0.6903, allocations: 4 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.424e-05/0.6904, allocations: 44.22 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.531e-05/0.6904, allocations: 60.23 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.6904, allocations: 8.438 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001146/0.6906, allocations: 81.55 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.6906, allocations: 4 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.6906, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.6906, allocations: 8.094 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.176e-05/0.6907, allocations: 19.88 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.6907, allocations: 7.984 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.11e-05/0.6907, allocations: 7.938 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.6907, allocations: 4 kB / 1.021 GB, free: 14.33 MB / 0.7794 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 8.239e-05/0.6908, allocations: 118.4 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.606e-05/0.6908, allocations: 7.906 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.396e-05/0.6909, allocations: 3.969 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.6909, allocations: 4 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.6909, allocations: 4 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.6909, allocations: 0 / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/0.6912, allocations: 310.5 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.6912, allocations: 0 / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.723e-05/0.6912, allocations: 7.984 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.6912, allocations: 0 / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.6912, allocations: 0 / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.6912, allocations: 0 / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.6912, allocations: 4 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.6914, allocations: 171.4 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.847e-05/0.6914, allocations: 85.02 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.6915, allocations: 0 / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.318e-05/0.6915, allocations: 0 / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.393e-05/0.6915, allocations: 8 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.77e-06/0.6916, allocations: 0 / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.049e-05/0.6916, allocations: 87.39 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6916, allocations: 0 / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002829/0.6919, allocations: 39.94 kB / 1.022 GB, free: 13.4 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 (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.0006816/0.6926, allocations: 0.7791 MB / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001163/0.6927, allocations: 51.86 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.6927, allocations: 0 / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.886e-05/0.6928, allocations: 16 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/0.693, allocations: 9.062 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.694, allocations: 1.31 MB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.6942, allocations: 0.6768 MB / 1.024 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.548e-05/0.6942, allocations: 11.89 kB / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.68e-05/0.6943, allocations: 15.44 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.6943, allocations: 4 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.579/2.273, allocations: 1.987 MB / 1.026 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000267/2.273, allocations: 253.7 kB / 1.027 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.258/4.531, allocations: 0 / 1.027 GB, free: 8.25 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_BaseClasses_Validation_Logit2D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_BaseClasses_Validation_Logit2D.fmu > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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:A,B,C,seed,time,x1,x2,y