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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001002/0.001002, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009617/0.0009617, allocations: 197.3 kB / 16.53 MB, free: 6.391 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.203/1.203, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.363/2.363, allocations: 461.9 MB / 0.7347 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 67.66 kB / 0.8992 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2227, allocations: 157.4 MB / 1.053 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002027/0.2247, allocations: 1.221 MB / 1.054 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007312/0.2255, allocations: 462.4 kB / 1.055 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.106e-05/0.2255, allocations: 0 / 1.055 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.47e-05/0.2255, allocations: 0 / 1.055 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.306e-05/0.2256, allocations: 3.938 kB / 1.055 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004308/0.226, allocations: 115.6 kB / 1.055 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.738e-05/0.2261, allocations: 23.86 kB / 1.055 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.399e-05/0.2261, allocations: 4 kB / 1.055 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.988e-05/0.2261, allocations: 7.984 kB / 1.055 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.929e-05/0.2262, allocations: 15.92 kB / 1.055 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.2262, allocations: 4 kB / 1.055 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001772/0.2264, allocations: 107.8 kB / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.374e-05/0.2264, allocations: 4 kB / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.682e-05/0.2264, allocations: 11.92 kB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.2266, allocations: 103.8 kB / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.2266, allocations: 0 / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2266, allocations: 0 / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.2266, allocations: 0 / 1.055 GB, free: 6.18 MB / 0.8106 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.0003842/0.227, allocations: 389.3 kB / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.227, allocations: 12.62 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.717e-05/0.2271, allocations: 38.75 kB / 1.055 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.284e-05/0.2271, allocations: 4.938 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.919e-05/0.2272, allocations: 164.4 kB / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.2272, allocations: 8.312 kB / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-06/0.2272, allocations: 4.375 kB / 1.055 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.279e-05/0.2273, allocations: 38.25 kB / 1.056 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.2274, allocations: 7.938 kB / 1.056 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.2274, allocations: 0 / 1.056 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.2274, allocations: 4 kB / 1.056 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.49e-05/0.2274, allocations: 11.98 kB / 1.056 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002625/0.2277, allocations: 248.9 kB / 1.056 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.387e-05/0.2278, allocations: 34.45 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.021e-05/0.2278, allocations: 28.95 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-06/0.2278, allocations: 3.938 kB / 1.056 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001125/0.2279, allocations: 63.39 kB / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.2279, allocations: 0 / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0001778/0.2281, allocations: 77.62 kB / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.2282, allocations: 55.39 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.422e-05/0.2282, allocations: 101.9 kB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.2282, allocations: 25.7 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.252e-05/0.2283, allocations: 92.12 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.2283, allocations: 23.73 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/0.2283, allocations: 17.72 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.799e-05/0.2284, allocations: 318.8 kB / 1.057 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.079e-05/0.2285, allocations: 8 kB / 1.057 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.593e-05/0.2285, allocations: 44.28 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.26e-05/0.2286, allocations: 56.23 kB / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2286, allocations: 8.375 kB / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001007/0.2287, allocations: 85.45 kB / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.2287, allocations: 4 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.2287, allocations: 4 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.2287, allocations: 4.094 kB / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.818e-05/0.2288, allocations: 19.92 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.2288, allocations: 7.984 kB / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.562e-05/0.2288, allocations: 0 / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.2288, allocations: 4 kB / 1.057 GB, free: 3.93 MB / 0.8106 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 6.384e-05/0.2289, allocations: 117.8 kB / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.255e-05/0.2289, allocations: 7.906 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.962e-05/0.2289, allocations: 7.969 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.2289, allocations: 0 / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.229, allocations: 4 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.229, allocations: 3.984 kB / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.2292, allocations: 306.5 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2292, allocations: 3.984 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.456e-05/0.2292, allocations: 8 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2292, allocations: 192 / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.2292, allocations: 4 kB / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.2292, allocations: 3.938 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2292, allocations: 0 / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.2294, allocations: 171.5 kB / 1.057 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.887e-05/0.2294, allocations: 84.95 kB / 1.058 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.2294, allocations: 0 / 1.058 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.105e-05/0.2295, allocations: 4 kB / 1.058 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.41e-05/0.2295, allocations: 96 / 1.058 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.2295, allocations: 7.984 kB / 1.058 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.982e-05/0.2296, allocations: 83.41 kB / 1.058 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2296, allocations: 4 kB / 1.058 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002662/0.2298, allocations: 43.92 kB / 1.058 GB, free: 2.98 MB / 0.8106 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.0005673/0.2304, allocations: 0.7662 MB / 1.058 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001014/0.2305, allocations: 43.92 kB / 1.058 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2305, allocations: 3.938 kB / 1.058 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.005e-05/0.2306, allocations: 19.98 kB / 1.058 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.2308, allocations: 0 / 1.058 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008868/0.2317, allocations: 1.31 MB / 1.06 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001779/0.2318, allocations: 0.6807 MB / 1.06 GB, free: 20 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.981e-05/0.2319, allocations: 7.984 kB / 1.06 GB, free: 12 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.373e-05/0.2319, allocations: 11.44 kB / 1.06 GB, free: 0 / 0.8106 GB Notification: Performance of SimCode: time 2.8e-07/0.2319, allocations: 4.234 kB / 1.06 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8326/1.064, allocations: 2.066 MB / 1.062 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.66/16.73, allocations: 8.797 kB / 1.062 GB, free: 14 MB / 0.8262 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