Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Logit2D,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_latest_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.0009404/0.0009403, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.007683/0.007683, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.3/1.3, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.663/2.663, allocations: 443.4 MB / 0.7176 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005289/0.000529, allocations: 9.219 kB / 0.8797 GB, free: 41.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3327, allocations: 155.2 MB / 1.031 GB, free: 4.223 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.00115/0.3339, allocations: 0.9477 MB / 1.032 GB, free: 3.266 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007709/0.3347, allocations: 459.1 kB / 1.033 GB, free: 2.816 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.655e-05/0.3347, allocations: 0 / 1.033 GB, free: 2.816 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.423e-05/0.3347, allocations: 0 / 1.033 GB, free: 2.816 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.702e-05/0.3348, allocations: 3.938 kB / 1.033 GB, free: 2.812 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004025/0.3352, allocations: 91.78 kB / 1.033 GB, free: 2.723 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.693e-05/0.3353, allocations: 19.98 kB / 1.033 GB, free: 2.703 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.556e-05/0.3353, allocations: 0 / 1.033 GB, free: 2.703 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.331e-05/0.3353, allocations: 15.92 kB / 1.033 GB, free: 2.688 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.657e-05/0.3354, allocations: 11.94 kB / 1.033 GB, free: 2.676 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.3354, allocations: 4 kB / 1.033 GB, free: 2.672 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001812/0.3356, allocations: 107.8 kB / 1.033 GB, free: 2.566 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.773e-05/0.3356, allocations: 7.984 kB / 1.033 GB, free: 2.559 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.618e-05/0.3356, allocations: 33.64 kB / 1.033 GB, free: 2.52 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.3358, allocations: 99.8 kB / 1.033 GB, free: 2.422 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.175e-06/0.3358, allocations: 0 / 1.033 GB, free: 2.422 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3358, allocations: 0 / 1.033 GB, free: 2.422 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.3359, allocations: 0 / 1.033 GB, free: 2.422 MB / 0.7794 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.0004138/0.3363, allocations: 385.4 kB / 1.033 GB, free: 1.988 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.3363, allocations: 8.031 kB / 1.033 GB, free: 1.98 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.34e-05/0.3364, allocations: 30.75 kB / 1.033 GB, free: 1.941 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.455e-05/0.3364, allocations: 8.844 kB / 1.033 GB, free: 1.934 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.932e-05/0.3365, allocations: 172.2 kB / 1.034 GB, free: 1.727 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.3365, allocations: 4.375 kB / 1.034 GB, free: 1.723 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.3365, allocations: 8.375 kB / 1.034 GB, free: 1.715 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.57e-05/0.3366, allocations: 38.25 kB / 1.034 GB, free: 1.672 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.3367, allocations: 7.938 kB / 1.034 GB, free: 1.664 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.3367, allocations: 4 kB / 1.034 GB, free: 1.66 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3367, allocations: 0 / 1.034 GB, free: 1.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.329e-05/0.3367, allocations: 7.984 kB / 1.034 GB, free: 1.652 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002828/0.337, allocations: 252.9 kB / 1.034 GB, free: 1.355 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.204e-05/0.3371, allocations: 34.52 kB / 1.034 GB, free: 1.312 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.35e-05/0.3371, allocations: 20.97 kB / 1.034 GB, free: 1.289 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.086e-06/0.3371, allocations: 4 kB / 1.034 GB, free: 1.285 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001248/0.3373, allocations: 63.3 kB / 1.034 GB, free: 1.211 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.3373, allocations: 0 / 1.034 GB, free: 1.211 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0001901/0.3375, allocations: 77.62 kB / 1.034 GB, free: 1.129 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.3375, allocations: 55.41 kB / 1.034 GB, free: 1.062 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.148e-05/0.3376, allocations: 106.1 kB / 1.034 GB, free: 0.9492 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.3376, allocations: 29.7 kB / 1.034 GB, free: 0.9141 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.332e-05/0.3376, allocations: 84.08 kB / 1.034 GB, free: 0.8281 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.3377, allocations: 19.8 kB / 1.034 GB, free: 0.8086 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.488e-05/0.3377, allocations: 17.72 kB / 1.034 GB, free: 0.7852 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.435e-05/0.3378, allocations: 310.8 kB / 1.035 GB, free: 484 kB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.332e-05/0.3378, allocations: 15.98 kB / 1.035 GB, free: 468 kB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.788e-05/0.3379, allocations: 44.22 kB / 1.035 GB, free: 408 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.45e-05/0.3379, allocations: 56.23 kB / 1.035 GB, free: 336 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.3379, allocations: 3.938 kB / 1.035 GB, free: 332 kB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001163/0.3381, allocations: 85.5 kB / 1.035 GB, free: 240 kB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.3381, allocations: 8 kB / 1.035 GB, free: 232 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-06/0.3381, allocations: 4.344 kB / 1.035 GB, free: 228 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.3381, allocations: 4 kB / 1.035 GB, free: 224 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.791e-05/0.3382, allocations: 15.94 kB / 1.035 GB, free: 208 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.3382, allocations: 0 / 1.035 GB, free: 208 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.001e-05/0.3382, allocations: 7.984 kB / 1.035 GB, free: 200 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.3382, allocations: 4 kB / 1.035 GB, free: 196 kB / 0.7794 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 7.073e-05/0.3383, allocations: 121.7 kB / 1.035 GB, free: 64 kB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.015e-05/0.3383, allocations: 7.938 kB / 1.035 GB, free: 56 kB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.179e-05/0.3384, allocations: 7.969 kB / 1.035 GB, free: 48 kB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.3384, allocations: 4 kB / 1.035 GB, free: 44 kB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.3384, allocations: 0 / 1.035 GB, free: 44 kB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3384, allocations: 4 kB / 1.035 GB, free: 40 kB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002435/0.3386, allocations: 310.4 kB / 1.035 GB, free: 15.68 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3386, allocations: 0 / 1.035 GB, free: 15.68 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.152e-05/0.3387, allocations: 8 kB / 1.035 GB, free: 15.67 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.3387, allocations: 3.984 kB / 1.035 GB, free: 15.67 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.3387, allocations: 4 kB / 1.035 GB, free: 15.66 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3387, allocations: 0 / 1.035 GB, free: 15.66 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3387, allocations: 4 kB / 1.035 GB, free: 15.66 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.3388, allocations: 167.4 kB / 1.036 GB, free: 15.48 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.551e-05/0.3389, allocations: 85 kB / 1.036 GB, free: 15.38 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.3389, allocations: 4 kB / 1.036 GB, free: 15.38 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.81e-05/0.339, allocations: 192 / 1.036 GB, free: 15.38 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.339, allocations: 0 / 1.036 GB, free: 15.38 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.339, allocations: 7.938 kB / 1.036 GB, free: 15.37 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.604e-05/0.339, allocations: 91.39 kB / 1.036 GB, free: 15.28 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.339, allocations: 4 kB / 1.036 GB, free: 15.27 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00026/0.3393, allocations: 39.94 kB / 1.036 GB, free: 15.23 MB / 0.795 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.0006119/0.3399, allocations: 0.7676 MB / 1.036 GB, free: 14.45 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 9.303e-05/0.34, allocations: 36.11 kB / 1.037 GB, free: 14.41 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.34, allocations: 0 / 1.037 GB, free: 14.41 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.83e-05/0.3401, allocations: 16 kB / 1.037 GB, free: 14.4 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.3403, allocations: 7.125 kB / 1.037 GB, free: 14.39 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009334/0.3412, allocations: 1.319 MB / 1.038 GB, free: 12.97 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001961/0.3414, allocations: 0.6809 MB / 1.038 GB, free: 12.26 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.956e-05/0.3414, allocations: 4.078 kB / 1.038 GB, free: 12.26 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.402e-05/0.3415, allocations: 19.38 kB / 1.039 GB, free: 12.24 MB / 0.795 GB Notification: Performance of SimCode: time 2.51e-07/0.3415, allocations: 0 / 1.039 GB, free: 12.24 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02811/0.3696, allocations: 1.858 MB / 1.04 GB, free: 10.51 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/0.3698, allocations: 253.9 kB / 1.041 GB, free: 10.24 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.911/2.281, allocations: 0 / 1.041 GB, free: 10.24 MB / 0.795 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit2D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit2D.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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