Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Logit1D,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_9_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.007261/0.007261, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001224/0.001224, allocations: 190.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.689/1.689, 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 9.1.3-maint.9.1.x/package.mo): time 2.408/2.408, allocations: 390.3 MB / 0.6648 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001076/0.001076, allocations: 67.27 kB / 0.9504 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2448, allocations: 140.4 MB / 1.087 GB, free: 2.156 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002223/0.247, allocations: 1.223 MB / 1.089 GB, free: 0.9219 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008515/0.2479, allocations: 444.3 kB / 1.089 GB, free: 500 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.798e-05/0.2479, allocations: 0 / 1.089 GB, free: 500 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.229e-05/0.248, allocations: 0 / 1.089 GB, free: 500 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.65e-05/0.2481, allocations: 7.938 kB / 1.089 GB, free: 492 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005716/0.2486, allocations: 103.6 kB / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.523e-05/0.2487, allocations: 15.92 kB / 1.089 GB, free: 372 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.319e-05/0.2488, allocations: 4 kB / 1.089 GB, free: 368 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.278e-05/0.2488, allocations: 11.94 kB / 1.089 GB, free: 356 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.097e-05/0.2488, allocations: 7.969 kB / 1.089 GB, free: 348 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.2488, allocations: 11.94 kB / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002217/0.2491, allocations: 99.89 kB / 1.089 GB, free: 236 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.675e-05/0.2491, allocations: 4 kB / 1.089 GB, free: 232 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.139e-05/0.2491, allocations: 7.938 kB / 1.089 GB, free: 224 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.2493, allocations: 95.8 kB / 1.089 GB, free: 128 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2493, allocations: 0 / 1.089 GB, free: 128 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2493, allocations: 0 / 1.089 GB, free: 128 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.872e-06/0.2494, allocations: 0 / 1.089 GB, free: 128 kB / 0.8419 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.0004754/0.2498, allocations: 380 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.2499, allocations: 16.03 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.717e-05/0.25, allocations: 34.66 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.896e-05/0.25, allocations: 4.938 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.2501, allocations: 164.4 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.2501, allocations: 4.375 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.2501, allocations: 4.375 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.2503, allocations: 38.19 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.2503, allocations: 7.938 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.2503, allocations: 4 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.2503, allocations: 0 / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.301e-05/0.2503, allocations: 11.98 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003104/0.2507, allocations: 241 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.246e-05/0.2508, allocations: 30.52 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.82e-05/0.2508, allocations: 20.94 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.2508, allocations: 3.938 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001608/0.251, allocations: 63.39 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.412e-06/0.251, allocations: 0 / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0002055/0.2512, allocations: 77.58 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.2512, allocations: 51.41 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.615e-05/0.2513, allocations: 102.4 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.2514, allocations: 33.64 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.064e-05/0.2514, allocations: 84.14 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.2514, allocations: 16.03 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.903e-05/0.2515, allocations: 29.64 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.706e-05/0.2516, allocations: 314.8 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.647e-05/0.2516, allocations: 15.97 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.871e-05/0.2516, allocations: 31.44 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.291e-05/0.2517, allocations: 55.3 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.2517, allocations: 3.938 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001055/0.2518, allocations: 73.62 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.2518, allocations: 4 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2519, allocations: 0 / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.2519, allocations: 4 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.525e-05/0.2519, allocations: 15.92 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.252, allocations: 0 / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.344e-05/0.252, allocations: 4.062 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.252, allocations: 4 kB / 1.091 GB, free: 13.95 MB / 0.8575 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 6.999e-05/0.2521, allocations: 117.8 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.129e-05/0.2521, allocations: 3.906 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.464e-05/0.2521, allocations: 7.547 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.2521, allocations: 4 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2521, allocations: 256 / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.2521, allocations: 0 / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002423/0.2524, allocations: 306.5 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2524, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.854e-05/0.2524, allocations: 3.984 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.2524, allocations: 4 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.2524, allocations: 4 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.2524, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2525, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.2526, allocations: 155.5 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.455e-05/0.2526, allocations: 85 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.2527, allocations: 8 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.886e-05/0.2527, allocations: 4 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.385e-05/0.2527, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.2528, allocations: 8.219 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.47e-05/0.2528, allocations: 83.25 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2528, allocations: 0 / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002948/0.2531, allocations: 35.94 kB / 1.092 GB, free: 13.04 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 (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.0006723/0.2538, allocations: 0.7819 MB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001212/0.2539, allocations: 31.94 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2539, allocations: 0 / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.974e-05/0.254, allocations: 20.11 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.2542, allocations: 4 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.2552, allocations: 1.265 MB / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.2554, allocations: 0.6807 MB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.41e-05/0.2555, allocations: 8.234 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.032e-05/0.2555, allocations: 15.44 kB / 1.095 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.2555, allocations: 0 / 1.095 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.126/1.382, allocations: 2.006 MB / 1.097 GB, free: 8.18 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.808/9.189, allocations: 9.969 kB / 1.097 GB, free: 8.172 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1D.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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