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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009778/0.0009778, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.005768/0.005768, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.425/1.425, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.507/2.507, allocations: 437.8 MB / 0.7121 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003914/0.0003917, allocations: 8 kB / 0.8729 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7032/0.7037, allocations: 153.8 MB / 1.023 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.001226/0.7049, allocations: 0.9605 MB / 1.024 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008186/0.7058, allocations: 442.8 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.864e-05/0.7058, allocations: 3.938 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.62e-05/0.7058, allocations: 4 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.614e-05/0.7059, allocations: 0 / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004146/0.7063, allocations: 83.78 kB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.362e-05/0.7063, allocations: 31.86 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.212e-05/0.7064, allocations: 0 / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.079e-05/0.7064, allocations: 4 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.772e-05/0.7065, allocations: 19.91 kB / 1.025 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.7065, allocations: 4 kB / 1.025 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000183/0.7067, allocations: 95.83 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.716e-05/0.7067, allocations: 11.98 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.617e-05/0.7067, allocations: 37.64 kB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.7069, allocations: 103.8 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.7069, allocations: 0 / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7069, allocations: 0 / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.707, allocations: 0 / 1.025 GB, free: 14.12 MB / 0.7794 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.0004306/0.7074, allocations: 385.1 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.7074, allocations: 8.031 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.368e-05/0.7075, allocations: 34.69 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.519e-05/0.7075, allocations: 8.844 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.7077, allocations: 168.3 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.7077, allocations: 12.36 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.7077, allocations: 384 / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.7079, allocations: 50.19 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.7079, allocations: 3.938 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.7079, allocations: 7.984 kB / 1.026 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.7079, allocations: 0 / 1.026 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.544e-05/0.7079, allocations: 4 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003059/0.7083, allocations: 253 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.001e-05/0.7083, allocations: 38.45 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.002e-05/0.7084, allocations: 20.97 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.939e-06/0.7084, allocations: 0 / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001428/0.7085, allocations: 63.39 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.7086, allocations: 0 / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0001984/0.7088, allocations: 81.59 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.7088, allocations: 55.34 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.525e-05/0.7089, allocations: 105.8 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.7089, allocations: 25.7 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.892e-05/0.7089, allocations: 80.14 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.709, allocations: 23.78 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.698e-05/0.709, allocations: 17.72 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.7091, allocations: 314.8 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.424e-05/0.7091, allocations: 15.98 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.097e-05/0.7092, allocations: 40.28 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.486e-05/0.7093, allocations: 56.23 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.7093, allocations: 3.938 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001107/0.7094, allocations: 85.45 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.7094, allocations: 8 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.7094, allocations: 0 / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.7094, allocations: 0 / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.956e-05/0.7095, allocations: 15.94 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.7095, allocations: 3.938 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.1e-05/0.7096, allocations: 8.031 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-06/0.7096, allocations: 7.984 kB / 1.027 GB, free: 11.88 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.186e-05/0.7097, allocations: 122.4 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.031e-05/0.7097, allocations: 4 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.306e-05/0.7097, allocations: 7.969 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.7097, allocations: 0 / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.7097, allocations: 0 / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.7097, allocations: 0.5 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002477/0.71, allocations: 314.4 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.71, allocations: 4 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.293e-05/0.71, allocations: 4 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.71, allocations: 4 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.71, allocations: 8.078 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.71, allocations: 0 / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.71, allocations: 0 / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001499/0.7102, allocations: 167.5 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.272e-05/0.7103, allocations: 81.09 kB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.7103, allocations: 8 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.915e-05/0.7103, allocations: 0 / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.978e-05/0.7104, allocations: 0 / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.7104, allocations: 4 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.682e-05/0.7104, allocations: 91.2 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7104, allocations: 0 / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002669/0.7107, allocations: 35.94 kB / 1.028 GB, free: 10.95 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.0006661/0.7114, allocations: 0.7848 MB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001013/0.7115, allocations: 39.86 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.7115, allocations: 0 / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.248e-05/0.7115, allocations: 20.12 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.7117, allocations: 8 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.7128, allocations: 1.307 MB / 1.03 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.7131, allocations: 0.6816 MB / 1.03 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.408e-05/0.7131, allocations: 7.969 kB / 1.03 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.637e-05/0.7131, allocations: 15.44 kB / 1.03 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.7132, allocations: 0 / 1.03 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9406/1.654, allocations: 1.85 MB / 1.032 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.06553/1.719, allocations: 250.8 kB / 1.032 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.367/4.087, allocations: 0 / 1.032 GB, free: 5.945 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