Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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.Logit1DQuadratic,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",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.001458/0.001457, 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.001677/0.001677, allocations: 188.5 kB / 16.25 MB, free: 6.637 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.323/1.323, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.509/2.509, allocations: 461.9 MB / 0.7343 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 70.64 kB / 0.8987 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2365, allocations: 157.4 MB / 1.052 GB, free: 8.594 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002029/0.2385, allocations: 1.29 MB / 1.054 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007835/0.2393, allocations: 466.5 kB / 1.054 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.024e-05/0.2394, allocations: 4 kB / 1.054 GB, free: 6.828 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.365e-05/0.2394, allocations: 4 kB / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.127e-05/0.2394, allocations: 3.938 kB / 1.054 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004019/0.2398, allocations: 95.78 kB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.614e-05/0.2399, allocations: 23.86 kB / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 2.881e-05/0.2399, allocations: 0 / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.911e-05/0.2399, allocations: 15.97 kB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.366e-05/0.24, allocations: 7.938 kB / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.24, allocations: 4 kB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001796/0.2402, allocations: 99.89 kB / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.138e-05/0.2402, allocations: 4 kB / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.798e-05/0.2402, allocations: 19.86 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.2404, allocations: 95.75 kB / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.2404, allocations: 0 / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2404, allocations: 0 / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.2404, allocations: 3.984 kB / 1.054 GB, free: 6.457 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.0004158/0.2408, allocations: 393.3 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.2409, allocations: 8.625 kB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.501e-05/0.2409, allocations: 30.75 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.441e-05/0.2409, allocations: 12.92 kB / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.956e-05/0.241, allocations: 164.3 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.2411, allocations: 4.375 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-06/0.2411, allocations: 384 / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.89e-05/0.2412, allocations: 46.23 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.2412, allocations: 3.938 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.2412, allocations: 0 / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.046e-06/0.2412, allocations: 3.938 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.929e-05/0.2412, allocations: 8 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002687/0.2415, allocations: 249 kB / 1.055 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.755e-05/0.2416, allocations: 34.52 kB / 1.055 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.294e-05/0.2416, allocations: 20.94 kB / 1.055 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.314e-06/0.2416, allocations: 0 / 1.055 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001077/0.2418, allocations: 63.34 kB / 1.055 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.363e-06/0.2418, allocations: 0 / 1.055 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0001761/0.2419, allocations: 73.67 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.242, allocations: 51.41 kB / 1.056 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.889e-05/0.242, allocations: 105.8 kB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.2421, allocations: 29.7 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.885e-05/0.2421, allocations: 92.03 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.349e-05/0.2421, allocations: 7.844 kB / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.2422, allocations: 33.7 kB / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.91e-05/0.2423, allocations: 314.8 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.232e-05/0.2423, allocations: 19.92 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.227e-05/0.2423, allocations: 31.44 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.248e-05/0.2424, allocations: 51.36 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2424, allocations: 4.438 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.151e-05/0.2425, allocations: 73.62 kB / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/0.2425, allocations: 7.938 kB / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.2425, allocations: 7.969 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.2425, allocations: 4 kB / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.995e-05/0.2426, allocations: 12 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.2426, allocations: 3.938 kB / 1.056 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.126e-05/0.2426, allocations: 0 / 1.056 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.2426, allocations: 12 kB / 1.056 GB, free: 4.254 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 7.87e-05/0.2427, allocations: 117.8 kB / 1.056 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.447e-06/0.2427, allocations: 0 / 1.056 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.134e-05/0.2428, allocations: 15.95 kB / 1.056 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.2428, allocations: 0 / 1.056 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.2428, allocations: 0 / 1.056 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.2428, allocations: 0 / 1.056 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.243, allocations: 306.4 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.243, allocations: 0 / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.718e-05/0.243, allocations: 8 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.2431, allocations: 0 / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.2431, allocations: 0 / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2431, allocations: 0 / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.2431, allocations: 4 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.2432, allocations: 163.5 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.608e-05/0.2433, allocations: 81.05 kB / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.2433, allocations: 0 / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.035e-05/0.2434, allocations: 4 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.663e-05/0.2434, allocations: 4 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.2434, allocations: 3.984 kB / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.261e-05/0.2434, allocations: 87.41 kB / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2434, allocations: 4 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002484/0.2437, allocations: 43.92 kB / 1.057 GB, free: 3.328 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.0006565/0.2444, allocations: 0.7673 MB / 1.058 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.265e-05/0.2445, allocations: 35.92 kB / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.2445, allocations: 0 / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.601e-05/0.2445, allocations: 16 kB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000181/0.2447, allocations: 3.984 kB / 1.058 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.2457, allocations: 1.293 MB / 1.059 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.2461, allocations: 0.6807 MB / 1.06 GB, free: 412 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.847e-05/0.2461, allocations: 8 kB / 1.06 GB, free: 404 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.463e-05/0.2461, allocations: 15.42 kB / 1.06 GB, free: 388 kB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.2461, allocations: 0 / 1.06 GB, free: 388 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.007/1.253, allocations: 1.974 MB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/1.253, allocations: 253.5 kB / 1.062 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.488/3.741, allocations: 0 / 1.062 GB, free: 14.3 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,C,D,seed,time,x,y