Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_10_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.008391/0.008391, allocations: 99.3 kB / 15.73 MB, free: 6.055 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.001966/0.001967, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.467/1.467, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.369/2.369, allocations: 437.1 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 63.89 kB / 1.018 GB, free: 9.902 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.608/0.6097, allocations: 151.6 MB / 1.166 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002014/0.6118, allocations: 1.233 MB / 1.167 GB, free: 2.527 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0007456/0.6125, allocations: 448.9 kB / 1.168 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.032e-05/0.6126, allocations: 0 / 1.168 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.222e-05/0.6126, allocations: 0 / 1.168 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.754e-05/0.6126, allocations: 7.938 kB / 1.168 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004319/0.6131, allocations: 115.6 kB / 1.168 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.641e-05/0.6132, allocations: 23.92 kB / 1.168 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.052e-05/0.6132, allocations: 0 / 1.168 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.385e-05/0.6132, allocations: 19.92 kB / 1.168 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.477e-05/0.6132, allocations: 7.922 kB / 1.168 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.6133, allocations: 4 kB / 1.168 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001877/0.6135, allocations: 107.8 kB / 1.168 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.6135, allocations: 3.984 kB / 1.168 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.627e-05/0.6135, allocations: 11.94 kB / 1.168 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.6137, allocations: 103.4 kB / 1.168 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.6137, allocations: 4 kB / 1.168 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6137, allocations: 0 / 1.168 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.6137, allocations: 3.938 kB / 1.168 GB, free: 1.688 MB / 0.8887 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.0004367/0.6142, allocations: 384.9 kB / 1.169 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.6142, allocations: 12.92 kB / 1.169 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.938e-05/0.6143, allocations: 38.69 kB / 1.169 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.321e-05/0.6143, allocations: 0.9375 kB / 1.169 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.6144, allocations: 168.3 kB / 1.169 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.6144, allocations: 4.312 kB / 1.169 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.6144, allocations: 12.38 kB / 1.169 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.54e-05/0.6145, allocations: 46.23 kB / 1.169 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.6146, allocations: 3.938 kB / 1.169 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-06/0.6146, allocations: 0 / 1.169 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.6146, allocations: 3.984 kB / 1.169 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.215e-05/0.6146, allocations: 8 kB / 1.169 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002928/0.6149, allocations: 249 kB / 1.169 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.699e-05/0.615, allocations: 42.44 kB / 1.169 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.012e-05/0.615, allocations: 20.98 kB / 1.169 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 5.3e-06/0.6151, allocations: 0 / 1.169 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001212/0.6152, allocations: 59.39 kB / 1.169 GB, free: 484 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.6152, allocations: 0 / 1.169 GB, free: 484 kB / 0.8887 GB Notification: Performance of matching and sorting (n=6): time 0.0001977/0.6154, allocations: 81.61 kB / 1.169 GB, free: 396 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.6154, allocations: 63.41 kB / 1.169 GB, free: 320 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.518e-05/0.6155, allocations: 97.84 kB / 1.169 GB, free: 212 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.6155, allocations: 29.7 kB / 1.169 GB, free: 176 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.954e-05/0.6156, allocations: 84.14 kB / 1.17 GB, free: 88 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.6156, allocations: 23.78 kB / 1.17 GB, free: 64 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/0.6157, allocations: 25.7 kB / 1.17 GB, free: 32 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.6158, allocations: 314.8 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.267e-05/0.6158, allocations: 11.98 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.563e-05/0.6159, allocations: 40.3 kB / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.73e-05/0.616, allocations: 60.22 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.616, allocations: 3.938 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001096/0.6161, allocations: 77.56 kB / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.6161, allocations: 11.98 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.6161, allocations: 0 / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.6161, allocations: 4 kB / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.645e-05/0.6162, allocations: 11.94 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.6162, allocations: 192 / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.886e-05/0.6162, allocations: 11.95 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.6162, allocations: 7.938 kB / 1.17 GB, free: 15.44 MB / 0.9044 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.238e-05/0.6163, allocations: 117.9 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.074e-05/0.6163, allocations: 11.92 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.05e-05/0.6164, allocations: 3.969 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.6164, allocations: 0 / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.6164, allocations: 4 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.6164, allocations: 0 / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000265/0.6167, allocations: 310.9 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.6167, allocations: 4 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.159e-05/0.6167, allocations: 4.062 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.6167, allocations: 8 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-06/0.6167, allocations: 0 / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.6167, allocations: 0 / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.6167, allocations: 96 / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/0.6169, allocations: 175.4 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.471e-05/0.6169, allocations: 85.05 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.617, allocations: 0 / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.877e-05/0.617, allocations: 3.984 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.864e-05/0.617, allocations: 8 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.6171, allocations: 4 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.96e-05/0.6171, allocations: 79.28 kB / 1.171 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6171, allocations: 0 / 1.171 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002514/0.6174, allocations: 39.86 kB / 1.171 GB, free: 14.49 MB / 0.9044 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.0006702/0.618, allocations: 0.7784 MB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001119/0.6182, allocations: 35.92 kB / 1.172 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.6182, allocations: 0 / 1.172 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.45e-05/0.6182, allocations: 27.92 kB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001805/0.6184, allocations: 6.391 kB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.6195, allocations: 1.314 MB / 1.173 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.6198, allocations: 0.6807 MB / 1.174 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.952e-05/0.6198, allocations: 7.984 kB / 1.174 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.346e-05/0.6198, allocations: 15.44 kB / 1.174 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.6198, allocations: 0 / 1.174 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8665/1.486, allocations: 2.097 MB / 1.176 GB, free: 9.488 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/12.69, allocations: 24.44 kB / 1.176 GB, free: 9.465 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_BaseClasses_Validation_Logit2D_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_BaseClasses_Validation_Logit2D.fmu > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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