Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.Logit2D,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit2D",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.00131/0.00131, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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: 198.4 kB / 16.14 MB, free: 6.648 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.298/1.298, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.527/2.527, allocations: 461.8 MB / 0.7342 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 69.78 kB / 0.8985 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2235, allocations: 157.4 MB / 1.052 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002113/0.2257, allocations: 1.286 MB / 1.053 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008083/0.2265, allocations: 458.6 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.806e-05/0.2265, allocations: 0 / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.539e-05/0.2266, allocations: 0 / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.588e-05/0.2266, allocations: 0 / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000403/0.227, allocations: 99.7 kB / 1.054 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.835e-05/0.2271, allocations: 23.86 kB / 1.054 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.519e-05/0.2271, allocations: 4 kB / 1.054 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.911e-05/0.2272, allocations: 8 kB / 1.054 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.366e-05/0.2272, allocations: 19.91 kB / 1.054 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.2272, allocations: 0 / 1.054 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001848/0.2274, allocations: 107.8 kB / 1.054 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.388e-05/0.2274, allocations: 0 / 1.054 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.877e-05/0.2275, allocations: 15.92 kB / 1.054 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.2276, allocations: 95.8 kB / 1.054 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.2276, allocations: 0 / 1.054 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.61e-07/0.2276, allocations: 0 / 1.054 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.2277, allocations: 4 kB / 1.054 GB, free: 6.152 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004512/0.2281, allocations: 393.4 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.2281, allocations: 11.97 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.055e-05/0.2282, allocations: 34.75 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.627e-05/0.2282, allocations: 0.9375 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.2284, allocations: 172.3 kB / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.2284, allocations: 4.375 kB / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.2284, allocations: 4.375 kB / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.2285, allocations: 46.23 kB / 1.055 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.2285, allocations: 7.922 kB / 1.055 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.2285, allocations: 0 / 1.055 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.2285, allocations: 4 kB / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.526e-05/0.2286, allocations: 4 kB / 1.055 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002925/0.2289, allocations: 256.8 kB / 1.055 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.576e-05/0.229, allocations: 34.52 kB / 1.055 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.171e-05/0.229, allocations: 20.97 kB / 1.055 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/0.229, allocations: 0 / 1.055 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001343/0.2292, allocations: 59.41 kB / 1.055 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.2292, allocations: 0 / 1.055 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0002061/0.2294, allocations: 85.61 kB / 1.055 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.2294, allocations: 51.41 kB / 1.055 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.793e-05/0.2295, allocations: 105.8 kB / 1.055 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.2295, allocations: 25.7 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.315e-05/0.2295, allocations: 84.14 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.2296, allocations: 23.73 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-05/0.2296, allocations: 25.72 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.934e-05/0.2297, allocations: 314.8 kB / 1.056 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.274e-05/0.2297, allocations: 7.984 kB / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.33e-05/0.2298, allocations: 56.16 kB / 1.056 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.525e-05/0.2299, allocations: 56.23 kB / 1.056 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.2299, allocations: 3.938 kB / 1.056 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001157/0.23, allocations: 77.52 kB / 1.056 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.23, allocations: 8 kB / 1.056 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.23, allocations: 3.938 kB / 1.056 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.198e-06/0.23, allocations: 4.094 kB / 1.056 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.346e-05/0.2301, allocations: 20.44 kB / 1.056 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.2301, allocations: 0 / 1.056 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.854e-05/0.2302, allocations: 4 kB / 1.056 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.2302, allocations: 7.984 kB / 1.056 GB, free: 3.902 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (9): * Single equations (assignments): 9 * 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.598e-05/0.2302, allocations: 117.8 kB / 1.056 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.962e-05/0.2303, allocations: 7.906 kB / 1.056 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.19e-05/0.2303, allocations: 3.969 kB / 1.056 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2303, allocations: 0 / 1.056 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.2303, allocations: 4 kB / 1.056 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.2303, allocations: 0 / 1.056 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.2306, allocations: 318.4 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2306, allocations: 0 / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.279e-05/0.2306, allocations: 4.094 kB / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.2306, allocations: 7.984 kB / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.2306, allocations: 3.984 kB / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2306, allocations: 0 / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2306, allocations: 0 / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.2308, allocations: 171.4 kB / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.128e-05/0.2308, allocations: 85 kB / 1.057 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.2308, allocations: 8 kB / 1.057 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.082e-05/0.2309, allocations: 0 / 1.057 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.794e-05/0.2309, allocations: 0 / 1.057 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.2309, allocations: 4 kB / 1.057 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.907e-05/0.231, allocations: 83.27 kB / 1.057 GB, free: 3 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.231, allocations: 0 / 1.057 GB, free: 3 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002758/0.2313, allocations: 43.94 kB / 1.057 GB, free: 2.957 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 (6): * Single equations (assignments): 4 * 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.0006334/0.2319, allocations: 0.7838 MB / 1.058 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000103/0.232, allocations: 43.92 kB / 1.058 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.232, allocations: 0 / 1.058 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.688e-05/0.2321, allocations: 16 kB / 1.058 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/0.2323, allocations: 4 kB / 1.058 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00099/0.2333, allocations: 1.309 MB / 1.059 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.2335, allocations: 0.6809 MB / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.328e-05/0.2335, allocations: 3.984 kB / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.022e-05/0.2336, allocations: 15.44 kB / 1.06 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2336, allocations: 7.938 kB / 1.06 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01071/0.2443, allocations: 1.939 MB / 1.062 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/0.2445, allocations: 259.1 kB / 1.062 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.642/1.886, allocations: 0 / 1.062 GB, free: 13.85 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit2D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit2D.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,C,seed,time,x1,x2,y