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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001312/0.001312, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001417/0.001417, allocations: 191.6 kB / 16.25 MB, free: 6.633 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.33/1.33, allocations: 222.9 MB / 239.9 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.524/2.524, allocations: 461.9 MB / 0.7343 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 59.69 kB / 0.8987 GB, free: 37.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2518, allocations: 157.4 MB / 1.052 GB, free: 8.656 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.001822/0.2536, allocations: 1.286 MB / 1.054 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006494/0.2543, allocations: 438.6 kB / 1.054 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.763e-05/0.2543, allocations: 0 / 1.054 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.414e-05/0.2543, allocations: 0 / 1.054 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.425e-05/0.2544, allocations: 0 / 1.054 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004069/0.2548, allocations: 99.77 kB / 1.054 GB, free: 6.828 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.439e-05/0.2549, allocations: 15.94 kB / 1.054 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.505e-05/0.2549, allocations: 7.984 kB / 1.054 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.819e-05/0.2549, allocations: 7.938 kB / 1.054 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.526e-05/0.2549, allocations: 15.92 kB / 1.054 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.255, allocations: 7.938 kB / 1.054 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.2551, allocations: 95.84 kB / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.713e-05/0.2551, allocations: 7.984 kB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.615e-05/0.2552, allocations: 15.92 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.2553, allocations: 79.89 kB / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.2553, allocations: 0 / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2553, allocations: 0 / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.625e-06/0.2554, allocations: 0 / 1.054 GB, free: 6.578 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.0003786/0.2557, allocations: 386.6 kB / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.2558, allocations: 12.62 kB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.791e-05/0.2558, allocations: 42.64 kB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.563e-05/0.2559, allocations: 4.938 kB / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.735e-05/0.256, allocations: 164.4 kB / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.256, allocations: 384 / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.256, allocations: 4.375 kB / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.197e-05/0.2561, allocations: 46.17 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.2561, allocations: 7.938 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.2561, allocations: 4 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-06/0.2561, allocations: 0 / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.921e-05/0.2562, allocations: 4 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000257/0.2564, allocations: 245 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.011e-05/0.2565, allocations: 38.44 kB / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.158e-05/0.2565, allocations: 12.86 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.2566, allocations: 8.078 kB / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001073/0.2567, allocations: 59.41 kB / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.273e-06/0.2567, allocations: 0 / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0001799/0.2569, allocations: 73.58 kB / 1.055 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.2569, allocations: 55.34 kB / 1.056 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.759e-05/0.257, allocations: 105.8 kB / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.257, allocations: 33.69 kB / 1.056 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.776e-05/0.257, allocations: 84.14 kB / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.455e-05/0.257, allocations: 7.844 kB / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/0.2571, allocations: 25.72 kB / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.112e-05/0.2572, allocations: 314.8 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.975e-05/0.2572, allocations: 12 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.418e-05/0.2572, allocations: 35.42 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.534e-05/0.2573, allocations: 51.31 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2573, allocations: 3.938 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.115e-05/0.2574, allocations: 77.52 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.2574, allocations: 4 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.2574, allocations: 0 / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.2574, allocations: 8.188 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.23e-05/0.2575, allocations: 16 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.2575, allocations: 4 kB / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.145e-05/0.2575, allocations: 0 / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.2575, allocations: 7.984 kB / 1.056 GB, free: 4.395 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 6.967e-05/0.2576, allocations: 121.8 kB / 1.056 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/0.2576, allocations: 3.906 kB / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.543e-05/0.2577, allocations: 3.562 kB / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.2577, allocations: 4 kB / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.2577, allocations: 0 / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.2577, allocations: 4 kB / 1.056 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/0.2579, allocations: 306.5 kB / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2579, allocations: 0 / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.384e-05/0.2579, allocations: 0 / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2579, allocations: 4 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.2579, allocations: 0 / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2579, allocations: 0 / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2579, allocations: 0 / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.2581, allocations: 167.5 kB / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.755e-05/0.2581, allocations: 81.05 kB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.2581, allocations: 4 kB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.716e-05/0.2582, allocations: 0 / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.844e-05/0.2582, allocations: 3.984 kB / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.2582, allocations: 4 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.792e-05/0.2583, allocations: 75.56 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2583, allocations: 0 / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002543/0.2585, allocations: 39.92 kB / 1.057 GB, free: 3.492 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.0005492/0.2591, allocations: 0.7775 MB / 1.058 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.797e-05/0.2592, allocations: 35.92 kB / 1.058 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2592, allocations: 4.125 kB / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.662e-05/0.2592, allocations: 15.94 kB / 1.058 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.2594, allocations: 18.25 kB / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008495/0.2603, allocations: 1.261 MB / 1.059 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000185/0.2605, allocations: 0.6798 MB / 1.06 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.651e-05/0.2605, allocations: 3.984 kB / 1.06 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.481e-05/0.2605, allocations: 15.44 kB / 1.06 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of SimCode: time 1.262e-06/0.2605, allocations: 0 / 1.06 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9893/1.25, allocations: 1.91 MB / 1.062 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002275/1.25, allocations: 240.5 kB / 1.062 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.524/3.774, allocations: 0 / 1.062 GB, free: 14.51 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