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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001058/0.001058, 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.0009652/0.0009652, allocations: 193.8 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.193/1.193, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.105/2.105, allocations: 390.2 MB / 0.6644 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 67.89 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4898/0.491, allocations: 140.4 MB / 0.9492 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.001761/0.4928, allocations: 1.277 MB / 0.9505 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005871/0.4934, allocations: 439.9 kB / 0.9509 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.871e-05/0.4935, allocations: 0 / 0.9509 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.375e-05/0.4935, allocations: 3.938 kB / 0.9509 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.493e-05/0.4935, allocations: 4 kB / 0.9509 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003976/0.4939, allocations: 94.41 kB / 0.951 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.236e-05/0.494, allocations: 15.92 kB / 0.951 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 2.975e-05/0.494, allocations: 2.969 kB / 0.951 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.759e-05/0.494, allocations: 8.141 kB / 0.951 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.168e-05/0.4941, allocations: 10.42 kB / 0.951 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.4941, allocations: 1.406 kB / 0.951 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.4942, allocations: 107 kB / 0.9511 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.196e-05/0.4943, allocations: 1.25 kB / 0.9511 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.324e-05/0.4943, allocations: 11.06 kB / 0.9511 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.4944, allocations: 97.98 kB / 0.9512 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.4944, allocations: 0 / 0.9512 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4944, allocations: 1.156 kB / 0.9512 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.4944, allocations: 3.938 kB / 0.9512 GB, free: 7.602 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.0003112/0.4948, allocations: 379.1 kB / 0.9516 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.4948, allocations: 10.56 kB / 0.9516 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.667e-05/0.4948, allocations: 30.75 kB / 0.9516 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.332e-05/0.4949, allocations: 7.906 kB / 0.9516 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.049e-05/0.4949, allocations: 173.8 kB / 0.9518 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.4949, allocations: 1.875 kB / 0.9518 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.495, allocations: 2.594 kB / 0.9518 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.257e-05/0.495, allocations: 48.05 kB / 0.9519 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.4951, allocations: 3.938 kB / 0.9519 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.4951, allocations: 1.344 kB / 0.9519 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.4951, allocations: 0 / 0.9519 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.88e-05/0.4951, allocations: 11.86 kB / 0.9519 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002058/0.4953, allocations: 248.2 kB / 0.9521 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.337e-05/0.4954, allocations: 33.2 kB / 0.9521 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.083e-05/0.4954, allocations: 20.91 kB / 0.9522 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.184e-06/0.4955, allocations: 0 / 0.9522 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001025/0.4956, allocations: 57.16 kB / 0.9522 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.4956, allocations: 5.406 kB / 0.9522 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0001634/0.4957, allocations: 73.02 kB / 0.9523 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.986e-05/0.4958, allocations: 52.53 kB / 0.9523 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.046e-05/0.4958, allocations: 107.2 kB / 0.9524 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.773e-06/0.4958, allocations: 25.7 kB / 0.9525 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.404e-05/0.4958, allocations: 85.11 kB / 0.9526 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.163e-05/0.4959, allocations: 10.02 kB / 0.9526 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.72e-05/0.4959, allocations: 23.45 kB / 0.9526 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.226e-05/0.4959, allocations: 324.2 kB / 0.9529 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.825e-05/0.496, allocations: 6.469 kB / 0.9529 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.041e-05/0.496, allocations: 43.41 kB / 0.9529 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.658e-05/0.496, allocations: 45.86 kB / 0.953 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.496, allocations: 7.938 kB / 0.953 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.255e-05/0.4961, allocations: 78.81 kB / 0.9531 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.4962, allocations: 5.938 kB / 0.9531 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.4962, allocations: 1.719 kB / 0.9531 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.4962, allocations: 1.312 kB / 0.9531 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.946e-05/0.4962, allocations: 12.08 kB / 0.9531 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.4962, allocations: 0 / 0.9531 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.189e-05/0.4963, allocations: 1.969 kB / 0.9531 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.4963, allocations: 6.672 kB / 0.9531 GB, free: 5.633 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 4.302e-05/0.4963, allocations: 125.4 kB / 0.9532 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.838e-06/0.4963, allocations: 1.062 kB / 0.9532 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.618e-05/0.4964, allocations: 4.969 kB / 0.9532 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.4964, allocations: 0 / 0.9532 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.4964, allocations: 5.031 kB / 0.9532 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.4964, allocations: 7.922 kB / 0.9532 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.4965, allocations: 297.8 kB / 0.9535 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.4965, allocations: 0 / 0.9535 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.534e-05/0.4966, allocations: 2.781 kB / 0.9535 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.4966, allocations: 13.02 kB / 0.9535 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.4966, allocations: 5.031 kB / 0.9535 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4966, allocations: 0 / 0.9535 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4966, allocations: 1.156 kB / 0.9535 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.862e-05/0.4967, allocations: 158.6 kB / 0.9537 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.328e-05/0.4967, allocations: 82.25 kB / 0.9538 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.4967, allocations: 5 kB / 0.9538 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.86e-05/0.4968, allocations: 1.062 kB / 0.9538 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.798e-05/0.4968, allocations: 6.219 kB / 0.9538 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.4968, allocations: 1.219 kB / 0.9538 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.852e-05/0.4968, allocations: 82.45 kB / 0.9539 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4968, allocations: 0 / 0.9539 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002538/0.4971, allocations: 36.09 kB / 0.9539 GB, free: 4.809 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.0004438/0.4976, allocations: 0.7697 MB / 0.9546 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.204e-05/0.4977, allocations: 36.39 kB / 0.9547 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.4977, allocations: 0 / 0.9547 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.461e-05/0.4977, allocations: 17.33 kB / 0.9547 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/0.4979, allocations: 2.906 kB / 0.9547 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000635/0.4985, allocations: 1.281 MB / 0.956 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.589e-05/0.4986, allocations: 0.6821 MB / 0.9566 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.587e-05/0.4986, allocations: 1.406 kB / 0.9566 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.045e-05/0.4987, allocations: 18.09 kB / 0.9566 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.4987, allocations: 0 / 0.9566 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01046/0.5091, allocations: 1.897 MB / 0.9585 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000147/0.5093, allocations: 237.7 kB / 0.9587 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.566/2.075, allocations: 10.12 kB / 0.9587 GB, free: 0.8203 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