Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_9_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.001274/0.001274, 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.00135/0.00135, allocations: 194.9 kB / 16.14 MB, free: 6.645 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.324/1.324, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.057/2.057, allocations: 390.2 MB / 0.6643 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 68.12 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5535/0.5547, allocations: 140.4 MB / 0.949 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.001686/0.5564, allocations: 1.27 MB / 0.9503 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006153/0.5571, allocations: 455.5 kB / 0.9507 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.622e-05/0.5571, allocations: 0 / 0.9507 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.619e-05/0.5571, allocations: 1.375 kB / 0.9507 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.214e-05/0.5572, allocations: 0 / 0.9507 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003324/0.5575, allocations: 87.28 kB / 0.9508 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.646e-05/0.5575, allocations: 16.17 kB / 0.9508 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.164e-05/0.5576, allocations: 2.75 kB / 0.9508 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.68e-05/0.5576, allocations: 8.125 kB / 0.9508 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.99e-05/0.5576, allocations: 13.31 kB / 0.9508 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.918e-06/0.5576, allocations: 2.219 kB / 0.9508 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000149/0.5578, allocations: 105.5 kB / 0.9509 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.278e-05/0.5578, allocations: 5.328 kB / 0.9509 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.169e-05/0.5578, allocations: 10.81 kB / 0.951 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.558, allocations: 97.95 kB / 0.951 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.558, allocations: 1.375 kB / 0.951 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.81e-07/0.558, allocations: 0 / 0.951 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.886e-06/0.558, allocations: 0 / 0.951 GB, free: 7.566 MB / 0.7169 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.0002969/0.5583, allocations: 375.6 kB / 0.9514 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.5583, allocations: 8.938 kB / 0.9514 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.659e-05/0.5584, allocations: 35.81 kB / 0.9514 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.282e-05/0.5584, allocations: 7.469 kB / 0.9515 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.158e-05/0.5585, allocations: 161.1 kB / 0.9516 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.5585, allocations: 6.688 kB / 0.9516 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.5585, allocations: 10.77 kB / 0.9516 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.614e-05/0.5586, allocations: 39.31 kB / 0.9517 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.5586, allocations: 9.125 kB / 0.9517 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.583e-06/0.5586, allocations: 0 / 0.9517 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.5586, allocations: 1.219 kB / 0.9517 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.762e-05/0.5586, allocations: 7.969 kB / 0.9517 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002009/0.5588, allocations: 247 kB / 0.9519 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.74e-05/0.5589, allocations: 38.19 kB / 0.952 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.932e-05/0.559, allocations: 24.34 kB / 0.952 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.939e-06/0.559, allocations: 1.406 kB / 0.952 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.929e-05/0.5591, allocations: 60.66 kB / 0.952 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.5591, allocations: 0 / 0.952 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0001574/0.5592, allocations: 73.86 kB / 0.9521 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.034e-05/0.5593, allocations: 53.12 kB / 0.9522 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.796e-05/0.5593, allocations: 110.3 kB / 0.9523 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.013e-06/0.5593, allocations: 27.36 kB / 0.9523 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.399e-05/0.5593, allocations: 80.14 kB / 0.9524 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.151e-05/0.5593, allocations: 10.59 kB / 0.9524 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-05/0.5594, allocations: 27.39 kB / 0.9524 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.365e-05/0.5594, allocations: 315.8 kB / 0.9527 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.764e-05/0.5594, allocations: 5.5 kB / 0.9527 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.723e-05/0.5595, allocations: 42.8 kB / 0.9527 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.53e-05/0.5595, allocations: 55.02 kB / 0.9528 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.5595, allocations: 3.938 kB / 0.9528 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.132e-05/0.5596, allocations: 74.36 kB / 0.9529 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.277e-06/0.5596, allocations: 5.938 kB / 0.9529 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.5596, allocations: 1.406 kB / 0.9529 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.647e-06/0.5596, allocations: 1.312 kB / 0.9529 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.77e-05/0.5597, allocations: 15.02 kB / 0.9529 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.5597, allocations: 2.781 kB / 0.9529 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.142e-05/0.5597, allocations: 5.594 kB / 0.9529 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.5597, allocations: 6.688 kB / 0.9529 GB, free: 5.594 MB / 0.7169 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 3.806e-05/0.5598, allocations: 116.5 kB / 0.953 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.839e-06/0.5598, allocations: 1.188 kB / 0.953 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.546e-05/0.5598, allocations: 4.75 kB / 0.953 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.5598, allocations: 0 / 0.953 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.5598, allocations: 5.219 kB / 0.953 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.5598, allocations: 0 / 0.953 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.56, allocations: 305.5 kB / 0.9533 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.56, allocations: 4 kB / 0.9533 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.436e-05/0.56, allocations: 6.594 kB / 0.9533 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.56, allocations: 1.281 kB / 0.9533 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.56, allocations: 1.281 kB / 0.9533 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.56, allocations: 4.297 kB / 0.9533 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.56, allocations: 0 / 0.9533 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.799e-05/0.5601, allocations: 168.4 kB / 0.9535 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.266e-05/0.5602, allocations: 78.23 kB / 0.9536 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.5602, allocations: 7.984 kB / 0.9536 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.651e-05/0.5602, allocations: 1 kB / 0.9536 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.688e-05/0.5603, allocations: 9.5 kB / 0.9536 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.5603, allocations: 1.375 kB / 0.9536 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.664e-05/0.5603, allocations: 79.59 kB / 0.9537 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5603, allocations: 0 / 0.9537 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002425/0.5605, allocations: 39.89 kB / 0.9537 GB, free: 4.77 MB / 0.7169 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.0004287/0.561, allocations: 0.765 MB / 0.9545 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.027e-05/0.5611, allocations: 35.83 kB / 0.9545 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.5611, allocations: 0 / 0.9545 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.257e-05/0.5611, allocations: 17.73 kB / 0.9545 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001825/0.5613, allocations: 10.25 kB / 0.9545 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006213/0.5619, allocations: 1.268 MB / 0.9558 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.672e-05/0.562, allocations: 0.682 MB / 0.9564 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.586e-05/0.562, allocations: 2.719 kB / 0.9564 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.846e-05/0.562, allocations: 10 kB / 0.9564 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.5621, allocations: 3.938 kB / 0.9564 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6886/1.251, allocations: 1.854 MB / 0.9582 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001472/1.251, allocations: 244.2 kB / 0.9585 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.944/4.194, allocations: 2.812 kB / 0.9585 GB, free: 0.8125 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit1D.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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