Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_latest_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.001284/0.001285, 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.001787/0.001787, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.396/1.396, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.586/2.586, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001047/0.001047, allocations: 65.06 kB / 0.8987 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2379, allocations: 157.4 MB / 1.052 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002005/0.2399, allocations: 1.286 MB / 1.054 GB, free: 7.367 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000668/0.2406, allocations: 458.9 kB / 1.054 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.276e-05/0.2406, allocations: 0 / 1.054 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.855e-06/0.2406, allocations: 4 kB / 1.054 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.102e-05/0.2407, allocations: 3.938 kB / 1.054 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003235/0.241, allocations: 95.78 kB / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.131e-05/0.241, allocations: 15.98 kB / 1.054 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 2.057e-05/0.2411, allocations: 4 kB / 1.054 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.695e-05/0.2411, allocations: 15.97 kB / 1.054 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.652e-05/0.2411, allocations: 11.92 kB / 1.054 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.212e-06/0.2411, allocations: 0 / 1.054 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.2413, allocations: 111.8 kB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.05e-05/0.2413, allocations: 7.938 kB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.673e-05/0.2413, allocations: 11.94 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.2415, allocations: 99.8 kB / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.2415, allocations: 0 / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.62e-07/0.2415, allocations: 0 / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.374e-06/0.2415, allocations: 0 / 1.054 GB, free: 6.543 MB / 0.8106 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.0003209/0.2418, allocations: 385.4 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.474e-05/0.2418, allocations: 8.625 kB / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.52e-05/0.2419, allocations: 42.67 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.63e-05/0.2419, allocations: 0.9375 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.242, allocations: 168.4 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.242, allocations: 4.375 kB / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.565e-06/0.242, allocations: 4.375 kB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.699e-05/0.2421, allocations: 46.23 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.27e-06/0.2421, allocations: 3.938 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.969e-06/0.2421, allocations: 0 / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-06/0.2422, allocations: 0 / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.154e-05/0.2422, allocations: 8 kB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002442/0.2424, allocations: 256.8 kB / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.095e-05/0.2425, allocations: 34.56 kB / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.363e-05/0.2425, allocations: 20.98 kB / 1.055 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.682e-06/0.2426, allocations: 7.969 kB / 1.055 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001139/0.2427, allocations: 63.41 kB / 1.055 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.2427, allocations: 7.938 kB / 1.055 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0001524/0.2428, allocations: 77.67 kB / 1.056 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.2429, allocations: 55.39 kB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.23e-05/0.2429, allocations: 113.7 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.243, allocations: 25.7 kB / 1.056 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.759e-05/0.243, allocations: 84.14 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.423e-05/0.243, allocations: 15.75 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.2431, allocations: 25.7 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.655e-05/0.2432, allocations: 318.8 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.045e-05/0.2432, allocations: 11.98 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.267e-05/0.2432, allocations: 48.23 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.087e-05/0.2433, allocations: 60.22 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2433, allocations: 3.938 kB / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001007/0.2434, allocations: 81.52 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.2434, allocations: 11.94 kB / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-06/0.2434, allocations: 0 / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.81e-06/0.2434, allocations: 0 / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.729e-05/0.2435, allocations: 12 kB / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.2435, allocations: 0 / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.404e-05/0.2435, allocations: 96 / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.2435, allocations: 8 kB / 1.056 GB, free: 4.297 MB / 0.8106 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 7.008e-05/0.2436, allocations: 121.8 kB / 1.057 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.343e-05/0.2436, allocations: 7.906 kB / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.617e-05/0.2437, allocations: 7.906 kB / 1.057 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2437, allocations: 0 / 1.057 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.2437, allocations: 0 / 1.057 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.2437, allocations: 0 / 1.057 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002917/0.244, allocations: 310.5 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.244, allocations: 4 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.294e-05/0.244, allocations: 4.562 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.244, allocations: 0 / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.244, allocations: 4 kB / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.244, allocations: 0 / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.244, allocations: 7.984 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.2442, allocations: 171.4 kB / 1.057 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.189e-05/0.2443, allocations: 81.2 kB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.2443, allocations: 7.984 kB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.443e-05/0.2443, allocations: 7.938 kB / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.305e-05/0.2444, allocations: 3.938 kB / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.2444, allocations: 4 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.463e-05/0.2444, allocations: 87.27 kB / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2444, allocations: 0 / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002504/0.2447, allocations: 31.94 kB / 1.057 GB, free: 3.352 MB / 0.8106 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.0006328/0.2453, allocations: 0.7819 MB / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.659e-05/0.2454, allocations: 39.92 kB / 1.058 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.2454, allocations: 0 / 1.058 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.498e-05/0.2455, allocations: 12.19 kB / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001746/0.2456, allocations: 8 kB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.2467, allocations: 1.319 MB / 1.059 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.247, allocations: 0.6845 MB / 1.06 GB, free: 380 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.796e-05/0.247, allocations: 3.984 kB / 1.06 GB, free: 376 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.39e-05/0.247, allocations: 19.42 kB / 1.06 GB, free: 356 kB / 0.8106 GB Notification: Performance of SimCode: time 2e-07/0.247, allocations: 0 / 1.06 GB, free: 356 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8383/1.085, allocations: 1.989 MB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002138/1.086, allocations: 254.6 kB / 1.062 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.491/3.577, allocations: 0 / 1.062 GB, free: 14.21 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit2D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit2D.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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