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.01026/0.01026, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001654/0.001654, allocations: 196.7 kB / 16.67 MB, free: 5.52 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.491/1.491, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.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.27/2.27, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 63.91 kB / 0.9504 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9552/0.9566, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002719/0.9593, allocations: 1.215 MB / 1.089 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009322/0.9603, allocations: 438.4 kB / 1.089 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.968e-05/0.9603, allocations: 0 / 1.089 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.062e-05/0.9604, allocations: 0.9375 kB / 1.089 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.489e-05/0.9604, allocations: 7.875 kB / 1.089 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00074/0.9612, allocations: 103.9 kB / 1.089 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.291e-05/0.9613, allocations: 19.22 kB / 1.089 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.632e-05/0.9613, allocations: 7.016 kB / 1.089 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.974e-05/0.9614, allocations: 4.719 kB / 1.089 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.566e-05/0.9614, allocations: 9.625 kB / 1.089 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.9614, allocations: 0.9688 kB / 1.089 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003022/0.9617, allocations: 105.9 kB / 1.089 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.531e-05/0.9618, allocations: 7.031 kB / 1.089 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.529e-05/0.9618, allocations: 12.72 kB / 1.089 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002665/0.9621, allocations: 100 kB / 1.089 GB, free: 4 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.9621, allocations: 0 / 1.089 GB, free: 4 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.136e-06/0.9621, allocations: 1.844 kB / 1.089 GB, free: 4 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.9621, allocations: 4 kB / 1.089 GB, free: 3.996 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004938/0.9626, allocations: 370.7 kB / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.9627, allocations: 9.406 kB / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.713e-05/0.9627, allocations: 37.27 kB / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.319e-05/0.9628, allocations: 2.906 kB / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.513e-05/0.9629, allocations: 167 kB / 1.09 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.9629, allocations: 2.469 kB / 1.09 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.9629, allocations: 3.562 kB / 1.09 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.963, allocations: 49.7 kB / 1.09 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.9631, allocations: 3.938 kB / 1.09 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.9631, allocations: 0.5625 kB / 1.09 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.9631, allocations: 1.125 kB / 1.09 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.753e-05/0.9631, allocations: 10.05 kB / 1.09 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002851/0.9634, allocations: 243.3 kB / 1.09 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.9635, allocations: 36.08 kB / 1.09 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.644e-05/0.9636, allocations: 22.66 kB / 1.09 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.9636, allocations: 1.672 kB / 1.09 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001927/0.9638, allocations: 66.94 kB / 1.09 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.553e-06/0.9638, allocations: 1.094 kB / 1.09 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0002397/0.964, allocations: 74.84 kB / 1.09 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.9641, allocations: 53.52 kB / 1.091 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.575e-05/0.9642, allocations: 105.5 kB / 1.091 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.9642, allocations: 30.7 kB / 1.091 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.431e-05/0.9642, allocations: 85.84 kB / 1.091 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/0.9642, allocations: 10.83 kB / 1.091 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.552e-05/0.9643, allocations: 21.25 kB / 1.091 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.858e-05/0.9643, allocations: 317.3 kB / 1.091 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.669e-05/0.9644, allocations: 11.41 kB / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.928e-05/0.9644, allocations: 38.66 kB / 1.091 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.085e-05/0.9645, allocations: 47.22 kB / 1.091 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.9645, allocations: 3.938 kB / 1.091 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001069/0.9646, allocations: 73.88 kB / 1.091 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.9646, allocations: 5.062 kB / 1.091 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.9646, allocations: 5.891 kB / 1.091 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.9647, allocations: 1.562 kB / 1.091 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.845e-05/0.9647, allocations: 8.672 kB / 1.091 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.9648, allocations: 6.984 kB / 1.091 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.597e-05/0.9648, allocations: 1.062 kB / 1.091 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.9648, allocations: 3.312 kB / 1.091 GB, free: 2.105 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.503e-05/0.9649, allocations: 117.3 kB / 1.091 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.9649, allocations: 5.766 kB / 1.091 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.582e-05/0.9649, allocations: 5.172 kB / 1.091 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.9649, allocations: 4.969 kB / 1.091 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.9649, allocations: 0.9062 kB / 1.091 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.965, allocations: 0.5156 kB / 1.091 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002157/0.9652, allocations: 308 kB / 1.092 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.9652, allocations: 0.875 kB / 1.092 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.391e-05/0.9652, allocations: 7.828 kB / 1.092 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.9652, allocations: 0 / 1.092 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.9652, allocations: 6.484 kB / 1.092 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.9652, allocations: 1.188 kB / 1.092 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.9653, allocations: 0 / 1.092 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.9654, allocations: 161.8 kB / 1.092 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.404e-05/0.9654, allocations: 87.3 kB / 1.092 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.9655, allocations: 5.578 kB / 1.092 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.428e-05/0.9655, allocations: 0.6094 kB / 1.092 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.241e-05/0.9656, allocations: 2.797 kB / 1.092 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.9656, allocations: 3.172 kB / 1.092 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.585e-05/0.9656, allocations: 82.72 kB / 1.092 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.9656, allocations: 5.375 kB / 1.092 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004049/0.966, allocations: 45.25 kB / 1.092 GB, free: 1.293 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.0009037/0.9669, allocations: 0.7626 MB / 1.093 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001751/0.9671, allocations: 32.75 kB / 1.093 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.9671, allocations: 0 / 1.093 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 5.911e-05/0.9672, allocations: 15.81 kB / 1.093 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.9675, allocations: 4.156 kB / 1.093 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/0.9693, allocations: 1.278 MB / 1.094 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005024/0.9698, allocations: 0.6779 MB / 1.095 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.602e-05/0.9699, allocations: 3.438 kB / 1.095 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.112e-05/0.97, allocations: 14.2 kB / 1.095 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of SimCode: time 7.32e-07/0.97, allocations: 0 / 1.095 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02072/0.9907, allocations: 2.015 MB / 1.097 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.844/8.835, allocations: 6.906 kB / 1.097 GB, free: 14.16 MB / 0.8731 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