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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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.004672/0.004672, allocations: 101.8 kB / 15.73 MB, free: 5.516 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.001275/0.001275, allocations: 200.2 kB / 16.68 MB, free: 5.445 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.145 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.923/2.923, allocations: 482.4 MB / 0.7548 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 63.89 kB / 1.083 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2811, allocations: 162.2 MB / 1.241 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002285/0.2834, allocations: 1.231 MB / 1.243 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009069/0.2843, allocations: 454.5 kB / 1.243 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.687e-05/0.2844, allocations: 0 / 1.243 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.599e-05/0.2844, allocations: 3.938 kB / 1.243 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.278e-05/0.2844, allocations: 0 / 1.243 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005158/0.285, allocations: 111.6 kB / 1.243 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.941e-05/0.285, allocations: 27.86 kB / 1.243 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.611e-05/0.2851, allocations: 3.984 kB / 1.243 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.021e-05/0.2851, allocations: 8 kB / 1.243 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.283e-05/0.2852, allocations: 11.92 kB / 1.243 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.2852, allocations: 4 kB / 1.243 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002194/0.2854, allocations: 95.91 kB / 1.243 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.229e-05/0.2854, allocations: 15.97 kB / 1.243 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.817e-05/0.2855, allocations: 7.938 kB / 1.243 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.2857, allocations: 107.7 kB / 1.243 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2857, allocations: 0 / 1.243 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.223e-06/0.2857, allocations: 0 / 1.243 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.2857, allocations: 0 / 1.243 GB, free: 8.195 MB / 0.9981 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.0005191/0.2862, allocations: 392.7 kB / 1.244 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.2863, allocations: 16.03 kB / 1.244 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.224e-05/0.2863, allocations: 34.69 kB / 1.244 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.7e-05/0.2864, allocations: 4.938 kB / 1.244 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.2865, allocations: 172.3 kB / 1.244 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.2865, allocations: 4.375 kB / 1.244 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.2866, allocations: 4.375 kB / 1.244 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.2867, allocations: 38.25 kB / 1.244 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.2867, allocations: 3.938 kB / 1.244 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.2867, allocations: 4 kB / 1.244 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.2867, allocations: 3.938 kB / 1.244 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.74e-05/0.2868, allocations: 11.98 kB / 1.244 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003262/0.2871, allocations: 241 kB / 1.244 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.2872, allocations: 38.52 kB / 1.244 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.326e-05/0.2873, allocations: 16.94 kB / 1.244 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.2873, allocations: 0 / 1.244 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001502/0.2874, allocations: 71.33 kB / 1.244 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.253e-06/0.2874, allocations: 0 / 1.244 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.0002111/0.2877, allocations: 65.69 kB / 1.245 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.2877, allocations: 51.41 kB / 1.245 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.677e-05/0.2878, allocations: 109.8 kB / 1.245 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.2878, allocations: 29.7 kB / 1.245 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.196e-05/0.2879, allocations: 80.14 kB / 1.245 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.2879, allocations: 23.88 kB / 1.245 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.288, allocations: 17.72 kB / 1.245 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.2881, allocations: 318.8 kB / 1.245 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.323e-05/0.2881, allocations: 11.94 kB / 1.245 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.446e-05/0.2882, allocations: 35.42 kB / 1.245 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.987e-05/0.2883, allocations: 55.36 kB / 1.245 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.2883, allocations: 3.938 kB / 1.245 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001228/0.2884, allocations: 73.56 kB / 1.245 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.2884, allocations: 8 kB / 1.245 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2884, allocations: 0 / 1.245 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.2885, allocations: 0 / 1.245 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.114e-05/0.2885, allocations: 11.94 kB / 1.245 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.2885, allocations: 7.938 kB / 1.245 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.739e-05/0.2886, allocations: 8.062 kB / 1.245 GB, free: 6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.2886, allocations: 4.5 kB / 1.245 GB, free: 5.996 MB / 0.9981 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 9.291e-05/0.2887, allocations: 118.3 kB / 1.245 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.304e-05/0.2887, allocations: 3.953 kB / 1.245 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.574e-05/0.2887, allocations: 11.91 kB / 1.245 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2887, allocations: 0 / 1.245 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.2888, allocations: 4 kB / 1.245 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.2888, allocations: 4 kB / 1.245 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003102/0.2891, allocations: 310.5 kB / 1.246 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2891, allocations: 0 / 1.246 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.133e-05/0.2891, allocations: 4 kB / 1.246 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2891, allocations: 0 / 1.246 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.2891, allocations: 0 / 1.246 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2891, allocations: 0 / 1.246 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2891, allocations: 0 / 1.246 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.2893, allocations: 163.5 kB / 1.246 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.831e-05/0.2894, allocations: 85.06 kB / 1.246 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.2894, allocations: 4 kB / 1.246 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.656e-05/0.2895, allocations: 4 kB / 1.246 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.74e-05/0.2895, allocations: 7.984 kB / 1.246 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.2895, allocations: 0 / 1.246 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.463e-05/0.2896, allocations: 79.28 kB / 1.246 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2896, allocations: 0 / 1.246 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002991/0.2899, allocations: 43.8 kB / 1.246 GB, free: 5.062 MB / 0.9981 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.0007765/0.2907, allocations: 0.7816 MB / 1.247 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001246/0.2908, allocations: 35.86 kB / 1.247 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2908, allocations: 0 / 1.247 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.326e-05/0.2908, allocations: 15.98 kB / 1.247 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.2911, allocations: 8.125 kB / 1.247 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.2923, allocations: 1.291 MB / 1.248 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.2926, allocations: 0.6838 MB / 1.249 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.23e-05/0.2926, allocations: 8 kB / 1.249 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.775e-05/0.2927, allocations: 11.44 kB / 1.249 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of SimCode: time 2.61e-07/0.2927, allocations: 0 / 1.249 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02264/0.3153, allocations: 2.088 MB / 1.251 GB, free: 128 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.658/7.974, allocations: 14.02 kB / 1.251 GB, free: 120 kB / 0.9981 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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:time,y