Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_11_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.006622/0.006622, allocations: 96.98 kB / 15.73 MB, free: 5.988 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.001746/0.001746, allocations: 188.2 kB / 16.67 MB, free: 5.918 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.561/2.561, allocations: 469.8 MB / 0.7425 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 63.91 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.268, allocations: 159.1 MB / 1.22 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002037/0.2701, allocations: 1.221 MB / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0007373/0.2709, allocations: 428.5 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.235e-05/0.2709, allocations: 0 / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.501e-05/0.2709, allocations: 3.938 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.309e-05/0.271, allocations: 4 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004223/0.2714, allocations: 107.6 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.504e-05/0.2715, allocations: 19.92 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 2.982e-05/0.2715, allocations: 0 / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.032e-05/0.2715, allocations: 11.92 kB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.718e-05/0.2715, allocations: 11.98 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.428e-06/0.2716, allocations: 0 / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/0.2718, allocations: 103.8 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.185e-05/0.2718, allocations: 3.938 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.71e-05/0.2718, allocations: 15.92 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.272, allocations: 95.75 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.272, allocations: 0 / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.413e-06/0.272, allocations: 0 / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.272, allocations: 0 / 1.222 GB, free: 12.34 MB / 0.9825 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.0004446/0.2725, allocations: 384.8 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.2725, allocations: 8.031 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.777e-05/0.2725, allocations: 42.7 kB / 1.223 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.232e-05/0.2726, allocations: 4.938 kB / 1.223 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.2727, allocations: 172.4 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.2727, allocations: 384 / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.2727, allocations: 4.375 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.188e-05/0.2728, allocations: 42.19 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.2728, allocations: 3.938 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.523e-06/0.2728, allocations: 0 / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.2729, allocations: 0 / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.8e-05/0.2729, allocations: 7.984 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002894/0.2732, allocations: 245 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.909e-05/0.2733, allocations: 46.44 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.282e-05/0.2733, allocations: 12.86 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-06/0.2733, allocations: 0 / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001158/0.2735, allocations: 59.48 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 2.976e-06/0.2735, allocations: 8 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0001811/0.2737, allocations: 65.64 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.2737, allocations: 59.34 kB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.195e-05/0.2738, allocations: 105.8 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.2738, allocations: 25.7 kB / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.105e-05/0.2739, allocations: 88.14 kB / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.2739, allocations: 15.83 kB / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/0.2739, allocations: 21.72 kB / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.274, allocations: 318.8 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.956e-05/0.2741, allocations: 7.984 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.691e-05/0.2741, allocations: 39.41 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.161e-05/0.2742, allocations: 51.36 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.2742, allocations: 3.938 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.949e-05/0.2743, allocations: 77.56 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.2743, allocations: 11.98 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.2743, allocations: 0 / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.2743, allocations: 0 / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.941e-05/0.2744, allocations: 11.94 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.2744, allocations: 4 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.276e-05/0.2744, allocations: 3.953 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.2744, allocations: 4 kB / 1.224 GB, free: 10.15 MB / 0.9825 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 8.395e-05/0.2745, allocations: 121.8 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.947e-06/0.2746, allocations: 4 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.615e-05/0.2746, allocations: 7.547 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.2746, allocations: 0 / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.2746, allocations: 0 / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2746, allocations: 4 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.2749, allocations: 306.8 kB / 1.224 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2749, allocations: 0 / 1.224 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.63e-05/0.2749, allocations: 4 kB / 1.224 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.2749, allocations: 0 / 1.224 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.2749, allocations: 4 kB / 1.224 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2749, allocations: 4 kB / 1.224 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.2749, allocations: 0 / 1.224 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.2751, allocations: 163.4 kB / 1.225 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.866e-05/0.2751, allocations: 88.98 kB / 1.225 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.048e-05/0.2752, allocations: 0 / 1.225 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.576e-05/0.2752, allocations: 0 / 1.225 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.928e-05/0.2752, allocations: 4 kB / 1.225 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.2752, allocations: 7.984 kB / 1.225 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.807e-05/0.2753, allocations: 79.56 kB / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2753, allocations: 0 / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000251/0.2755, allocations: 35.88 kB / 1.225 GB, free: 9.238 MB / 0.9825 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.0006829/0.2762, allocations: 0.7742 MB / 1.226 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001032/0.2763, allocations: 35.92 kB / 1.226 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.2764, allocations: 0 / 1.226 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.664e-05/0.2764, allocations: 15.94 kB / 1.226 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000181/0.2766, allocations: 4 kB / 1.226 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.2776, allocations: 1.281 MB / 1.227 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.2779, allocations: 0.6768 MB / 1.227 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.879e-05/0.2779, allocations: 8.234 kB / 1.227 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.088e-05/0.278, allocations: 7.438 kB / 1.228 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of SimCode: time 2.21e-07/0.278, allocations: 0 / 1.228 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.136/1.414, allocations: 2.021 MB / 1.229 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/12.47, allocations: 7.938 kB / 1.229 GB, free: 4.359 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit1D_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit1D.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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