Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_9_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.008429/0.008429, allocations: 99.8 kB / 15.73 MB, free: 6.043 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.001935/0.001935, allocations: 187.6 kB / 16.67 MB, free: 5.977 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.405/2.405, allocations: 390.2 MB / 0.6648 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 63.81 kB / 0.9504 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2677, allocations: 140.4 MB / 1.087 GB, free: 2.055 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002334/0.2701, allocations: 1.223 MB / 1.089 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009365/0.2711, allocations: 448.2 kB / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.665e-05/0.2711, allocations: 4 kB / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.659e-05/0.2712, allocations: 0 / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.459e-05/0.2712, allocations: 3.938 kB / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006939/0.2719, allocations: 115.6 kB / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.664e-05/0.272, allocations: 19.92 kB / 1.089 GB, free: 248 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.894e-05/0.2721, allocations: 4 kB / 1.089 GB, free: 244 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.755e-05/0.2721, allocations: 15.91 kB / 1.089 GB, free: 228 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.366e-05/0.2722, allocations: 12 kB / 1.089 GB, free: 216 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.2722, allocations: 0 / 1.089 GB, free: 216 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002507/0.2724, allocations: 103.8 kB / 1.089 GB, free: 112 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.825e-05/0.2725, allocations: 15.92 kB / 1.089 GB, free: 96 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.38e-05/0.2725, allocations: 7.938 kB / 1.089 GB, free: 88 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.2728, allocations: 103.8 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2728, allocations: 0 / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2728, allocations: 0 / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.2728, allocations: 0 / 1.089 GB, free: 15.98 MB / 0.8575 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.000639/0.2735, allocations: 384 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.2735, allocations: 12.03 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.228e-05/0.2736, allocations: 34.73 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.2736, allocations: 4.938 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.2738, allocations: 168.9 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.099e-05/0.2738, allocations: 4.375 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.2739, allocations: 384 / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.274, allocations: 50.17 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.2741, allocations: 3.938 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.2741, allocations: 3.984 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.2741, allocations: 8 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.801e-05/0.2742, allocations: 8 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004209/0.2746, allocations: 245.2 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.003e-05/0.2747, allocations: 38.5 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.7e-05/0.2747, allocations: 16.98 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.2748, allocations: 0 / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002118/0.275, allocations: 71.39 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.823e-06/0.275, allocations: 0 / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0002577/0.2753, allocations: 77.67 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/0.2753, allocations: 67.27 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.851e-05/0.2754, allocations: 101.8 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.2755, allocations: 29.7 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.916e-05/0.2755, allocations: 88.14 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.2756, allocations: 15.66 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.4e-05/0.2756, allocations: 29.7 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.2757, allocations: 310.8 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.693e-05/0.2758, allocations: 12 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.893e-05/0.2758, allocations: 40.28 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.392e-05/0.2759, allocations: 60.22 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.2759, allocations: 7.938 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001313/0.2761, allocations: 77.56 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.2761, allocations: 4 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2761, allocations: 0 / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.2761, allocations: 12.08 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.689e-05/0.2762, allocations: 8 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.2762, allocations: 7.938 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.236e-05/0.2763, allocations: 0 / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.2763, allocations: 4 kB / 1.091 GB, free: 13.75 MB / 0.8575 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 9.89e-05/0.2764, allocations: 121.7 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.475e-05/0.2764, allocations: 3.906 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.511e-05/0.2765, allocations: 11.95 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.2765, allocations: 4 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.2765, allocations: 4 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.2765, allocations: 96 / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003011/0.2768, allocations: 306.5 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.2768, allocations: 4.547 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.883e-05/0.2768, allocations: 4 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.2769, allocations: 0 / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.2769, allocations: 8 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2769, allocations: 0 / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.2769, allocations: 4 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.2771, allocations: 167.5 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.125e-05/0.2771, allocations: 85.02 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.2771, allocations: 0 / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.221e-05/0.2772, allocations: 3.938 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.941e-05/0.2772, allocations: 8.172 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.2773, allocations: 3.938 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.025e-05/0.2773, allocations: 87.22 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2773, allocations: 0 / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003283/0.2776, allocations: 43.92 kB / 1.092 GB, free: 12.79 MB / 0.8575 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.000821/0.2785, allocations: 0.7681 MB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001353/0.2786, allocations: 44.23 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.2786, allocations: 0 / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.519e-05/0.2787, allocations: 15.92 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.2789, allocations: 8 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.2801, allocations: 1.31 MB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/0.2804, allocations: 0.6807 MB / 1.095 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.87e-05/0.2804, allocations: 7.984 kB / 1.095 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.617e-05/0.2805, allocations: 15.47 kB / 1.095 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of SimCode: time 3.91e-07/0.2805, allocations: 0 / 1.095 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03559/0.3161, allocations: 2.11 MB / 1.097 GB, free: 7.785 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.802/8.118, allocations: 10.23 kB / 1.097 GB, free: 7.777 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit2D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit2D.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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