Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Logit2D,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_9_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.007279/0.007279, allocations: 100.4 kB / 15.73 MB, free: 6.047 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.0013/0.001301, allocations: 193.8 kB / 16.67 MB, free: 5.977 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.442/2.442, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001295, allocations: 65.83 kB / 0.9504 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3157, allocations: 140.4 MB / 1.087 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002565/0.3183, allocations: 1.219 MB / 1.089 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009574/0.3193, allocations: 452.3 kB / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.161e-05/0.3193, allocations: 3.938 kB / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.599e-05/0.3194, allocations: 0 / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.415e-05/0.3194, allocations: 3.938 kB / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005702/0.32, allocations: 107.6 kB / 1.089 GB, free: 224 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.741e-05/0.3201, allocations: 35.84 kB / 1.089 GB, free: 188 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.275e-05/0.3201, allocations: 0 / 1.089 GB, free: 188 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.286e-05/0.3202, allocations: 8 kB / 1.089 GB, free: 180 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.119e-05/0.3202, allocations: 11.92 kB / 1.089 GB, free: 168 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.3202, allocations: 4 kB / 1.089 GB, free: 164 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002071/0.3204, allocations: 103.9 kB / 1.089 GB, free: 60 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.702e-05/0.3205, allocations: 3.984 kB / 1.089 GB, free: 56 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.177e-05/0.3205, allocations: 11.94 kB / 1.089 GB, free: 44 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.3207, allocations: 100 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3207, allocations: 4 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.223e-06/0.3208, allocations: 4 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.3208, allocations: 0 / 1.089 GB, free: 15.94 MB / 0.8575 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.0005185/0.3213, allocations: 387.9 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.3213, allocations: 12.03 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.887e-05/0.3214, allocations: 30.75 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.097e-05/0.3215, allocations: 4.875 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.3216, allocations: 176.8 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.3216, allocations: 4.375 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.3216, allocations: 4.375 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.3218, allocations: 46.25 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.3218, allocations: 7.875 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.3218, allocations: 0 / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.3218, allocations: 0 / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.302e-05/0.3219, allocations: 11.98 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000354/0.3222, allocations: 244.9 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.447e-05/0.3223, allocations: 46.5 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.475e-05/0.3224, allocations: 16.98 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.3224, allocations: 0 / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001894/0.3226, allocations: 63.33 kB / 1.09 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.3226, allocations: 0 / 1.09 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0002315/0.3228, allocations: 81.67 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.3229, allocations: 51.41 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.785e-05/0.323, allocations: 105.9 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.323, allocations: 25.7 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.591e-05/0.323, allocations: 88.12 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.3231, allocations: 15.72 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.377e-05/0.3231, allocations: 25.66 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3232, allocations: 318.8 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.505e-05/0.3233, allocations: 8 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.569e-05/0.3233, allocations: 48.28 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.69e-05/0.3234, allocations: 52.23 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.3234, allocations: 3.938 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001211/0.3235, allocations: 85.53 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.3236, allocations: 11.94 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3236, allocations: 0 / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.3236, allocations: 4 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.257e-05/0.3237, allocations: 15.98 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.3237, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.431e-05/0.3237, allocations: 4 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.3237, allocations: 4 kB / 1.091 GB, free: 13.7 MB / 0.8575 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 8.926e-05/0.3238, allocations: 125.8 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.48e-05/0.3239, allocations: 12 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.588e-05/0.3239, allocations: 3.969 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.3239, allocations: 3.984 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3239, allocations: 0 / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3239, allocations: 4 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/0.3242, allocations: 303.1 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3242, allocations: 0 / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.763e-05/0.3242, allocations: 12 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3242, allocations: 4 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.3242, allocations: 4 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3243, allocations: 0 / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3243, allocations: 0 / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.3244, allocations: 167.5 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.389e-05/0.3245, allocations: 81.02 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.3245, allocations: 8 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.631e-05/0.3246, allocations: 0 / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/0.3246, allocations: 3.984 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.3246, allocations: 8 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.861e-05/0.3247, allocations: 79.28 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3247, allocations: 0 / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003109/0.325, allocations: 43.92 kB / 1.092 GB, free: 12.75 MB / 0.8575 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.0007561/0.3257, allocations: 0.7787 MB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001261/0.3259, allocations: 47.91 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3259, allocations: 0 / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.374e-05/0.3259, allocations: 19.98 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.3262, allocations: 8 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.3273, allocations: 1.309 MB / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.3276, allocations: 0.6807 MB / 1.095 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.094e-05/0.3276, allocations: 0 / 1.095 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.84e-05/0.3277, allocations: 23.42 kB / 1.095 GB, free: 9.75 MB / 0.8575 GB Notification: Performance of SimCode: time 1.773e-06/0.3277, allocations: 0 / 1.095 GB, free: 9.75 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01824/0.3459, allocations: 2.097 MB / 1.097 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.837/8.183, allocations: 1.312 kB / 1.097 GB, free: 7.742 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit2D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_Logit2D.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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