Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Logit1D,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_latest_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.001484/0.001484, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00172/0.001721, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.36/1.36, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.564/2.564, allocations: 461.8 MB / 0.7342 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 66.19 kB / 0.8985 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2539, allocations: 157.4 MB / 1.052 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002217/0.2561, allocations: 1.266 MB / 1.053 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00083/0.257, allocations: 442.7 kB / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.85e-05/0.257, allocations: 0 / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.854e-05/0.257, allocations: 0 / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.452e-05/0.2571, allocations: 7.984 kB / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005008/0.2576, allocations: 83.8 kB / 1.054 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.786e-05/0.2577, allocations: 23.86 kB / 1.054 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.478e-05/0.2577, allocations: 0 / 1.054 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.168e-05/0.2577, allocations: 15.98 kB / 1.054 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.523e-05/0.2578, allocations: 15.86 kB / 1.054 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.2578, allocations: 0 / 1.054 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002543/0.258, allocations: 99.83 kB / 1.054 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.531e-05/0.2581, allocations: 8 kB / 1.054 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.62e-05/0.2581, allocations: 7.938 kB / 1.054 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.2583, allocations: 91.8 kB / 1.054 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2583, allocations: 0 / 1.054 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.41e-07/0.2583, allocations: 0 / 1.054 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.327e-06/0.2583, allocations: 0 / 1.054 GB, free: 6.191 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004249/0.2587, allocations: 389.5 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.2588, allocations: 11.97 kB / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.089e-05/0.2588, allocations: 34.66 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.629e-05/0.2588, allocations: 4.938 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.066e-05/0.2589, allocations: 160.4 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.259, allocations: 4.359 kB / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.259, allocations: 4.375 kB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.732e-05/0.2591, allocations: 50.17 kB / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-06/0.2591, allocations: 3.938 kB / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.2591, allocations: 8 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.2591, allocations: 0 / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.238e-05/0.2592, allocations: 4 kB / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002831/0.2595, allocations: 249 kB / 1.055 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.609e-05/0.2595, allocations: 34.45 kB / 1.055 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.675e-05/0.2596, allocations: 20.94 kB / 1.055 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.745e-06/0.2596, allocations: 4 kB / 1.055 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001266/0.2597, allocations: 55.41 kB / 1.055 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.2597, allocations: 0 / 1.055 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0001987/0.26, allocations: 81.52 kB / 1.055 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.26, allocations: 55.34 kB / 1.055 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.105e-05/0.2601, allocations: 101.8 kB / 1.055 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.2601, allocations: 33.7 kB / 1.055 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.212e-05/0.2601, allocations: 80.14 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.2602, allocations: 19.83 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-05/0.2602, allocations: 21.7 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.2603, allocations: 310.8 kB / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.291e-05/0.2604, allocations: 12 kB / 1.056 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.217e-05/0.2604, allocations: 43.41 kB / 1.056 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.2606, allocations: 51.36 kB / 1.056 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2606, allocations: 3.938 kB / 1.056 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001031/0.2607, allocations: 73.81 kB / 1.056 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.2607, allocations: 4 kB / 1.056 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.2607, allocations: 0 / 1.056 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.2607, allocations: 7.938 kB / 1.056 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.051e-05/0.2608, allocations: 19.98 kB / 1.056 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.2608, allocations: 0 / 1.056 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.553e-05/0.2608, allocations: 3.984 kB / 1.056 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-06/0.2608, allocations: 8 kB / 1.056 GB, free: 3.996 MB / 0.8106 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 0.0001116/0.261, allocations: 113.8 kB / 1.056 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.205e-05/0.261, allocations: 3.906 kB / 1.056 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.912e-05/0.261, allocations: 7.562 kB / 1.056 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.261, allocations: 4 kB / 1.056 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.261, allocations: 0 / 1.056 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.261, allocations: 7.984 kB / 1.056 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/0.2613, allocations: 298.5 kB / 1.056 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2613, allocations: 320 / 1.056 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.6e-05/0.2613, allocations: 0 / 1.056 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.2613, allocations: 4 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.2613, allocations: 7.984 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2613, allocations: 0 / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2613, allocations: 0 / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.2615, allocations: 167.4 kB / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.248e-05/0.2615, allocations: 77.11 kB / 1.057 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.2616, allocations: 7.984 kB / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.313e-05/0.2616, allocations: 0 / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.583e-05/0.2616, allocations: 3.938 kB / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.2616, allocations: 4 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.393e-05/0.2617, allocations: 83.27 kB / 1.057 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2617, allocations: 0 / 1.057 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002742/0.262, allocations: 31.94 kB / 1.057 GB, free: 3.094 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 (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.0006284/0.2626, allocations: 0.7703 MB / 1.058 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001021/0.2627, allocations: 36.05 kB / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2627, allocations: 4 kB / 1.058 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.073e-05/0.2628, allocations: 19.92 kB / 1.058 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.263, allocations: 9.828 kB / 1.058 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.264, allocations: 1.275 MB / 1.059 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.2643, allocations: 0.6809 MB / 1.06 GB, free: 164 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.95e-05/0.2643, allocations: 256 / 1.06 GB, free: 164 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.769e-05/0.2644, allocations: 15.44 kB / 1.06 GB, free: 148 kB / 0.8106 GB Notification: Performance of SimCode: time 1.9e-07/0.2644, allocations: 0 / 1.06 GB, free: 148 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01101/0.2754, allocations: 1.862 MB / 1.061 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001976/0.2756, allocations: 246.5 kB / 1.062 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.679/1.955, allocations: 0 / 1.062 GB, free: 14.12 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1D.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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