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.01568/0.01568, allocations: 102.4 kB / 15.73 MB, free: 6.438 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.003253/0.003254, allocations: 194.3 kB / 16.67 MB, free: 6.355 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.476/1.476, allocations: 222.9 MB / 240.4 MB, free: 4.289 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.416/2.416, allocations: 390.3 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 62.81 kB / 0.9504 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2183, allocations: 140.4 MB / 1.087 GB, free: 2.164 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.001823/0.2201, allocations: 1.215 MB / 1.089 GB, free: 0.9375 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007583/0.2209, allocations: 456.2 kB / 1.089 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.818e-05/0.2209, allocations: 0 / 1.089 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.723e-05/0.221, allocations: 3.938 kB / 1.089 GB, free: 500 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.968e-05/0.221, allocations: 0 / 1.089 GB, free: 500 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000476/0.2215, allocations: 119.6 kB / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.609e-05/0.2216, allocations: 19.92 kB / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.929e-05/0.2216, allocations: 4 kB / 1.089 GB, free: 356 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.329e-05/0.2216, allocations: 8 kB / 1.089 GB, free: 348 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.302e-05/0.2217, allocations: 15.92 kB / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.2217, allocations: 0 / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001999/0.2219, allocations: 107.8 kB / 1.089 GB, free: 224 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.824e-05/0.2219, allocations: 7.984 kB / 1.089 GB, free: 216 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.04e-05/0.222, allocations: 11.92 kB / 1.089 GB, free: 204 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.2221, allocations: 99.8 kB / 1.089 GB, free: 104 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.2221, allocations: 0 / 1.089 GB, free: 104 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2221, allocations: 4 kB / 1.089 GB, free: 100 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.2222, allocations: 0 / 1.089 GB, free: 100 kB / 0.8419 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.0004773/0.2226, allocations: 395.9 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.2227, allocations: 8.031 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.93e-05/0.2227, allocations: 34.75 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.712e-05/0.2228, allocations: 4.938 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.2229, allocations: 172.8 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.2229, allocations: 4.375 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.2229, allocations: 4.375 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.223, allocations: 46.25 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.223, allocations: 3.938 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.2231, allocations: 3.984 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-06/0.2231, allocations: 0 / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.837e-05/0.2231, allocations: 15.92 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002803/0.2234, allocations: 245.2 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.461e-05/0.2235, allocations: 38.58 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.863e-05/0.2235, allocations: 20.97 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.416e-06/0.2235, allocations: 0 / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000122/0.2237, allocations: 67.33 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.2237, allocations: 0 / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0001954/0.2239, allocations: 73.69 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.2239, allocations: 55.41 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.571e-05/0.224, allocations: 105.8 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.224, allocations: 25.7 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.963e-05/0.224, allocations: 84.14 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.224, allocations: 23.64 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.2241, allocations: 25.72 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.89e-05/0.2242, allocations: 314.8 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.169e-05/0.2242, allocations: 8 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.221e-05/0.2243, allocations: 52.22 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.19e-05/0.2243, allocations: 56.17 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.2243, allocations: 3.938 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001034/0.2244, allocations: 85.55 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.2245, allocations: 8 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.2245, allocations: 0.5 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.2245, allocations: 0 / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.216e-05/0.2246, allocations: 15.98 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.2246, allocations: 0 / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.941e-05/0.2246, allocations: 8 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.2246, allocations: 0 / 1.091 GB, free: 13.86 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 7.317e-05/0.2247, allocations: 125.8 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.2247, allocations: 11.91 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.818e-05/0.2247, allocations: 7.969 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.2247, allocations: 0 / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2248, allocations: 0 / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2248, allocations: 0 / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.225, allocations: 306.5 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.225, allocations: 0 / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.311e-05/0.225, allocations: 7.984 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.225, allocations: 96 / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.2251, allocations: 11.98 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2251, allocations: 0 / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2251, allocations: 0 / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.2252, allocations: 175.4 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.98e-05/0.2252, allocations: 81.02 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.2253, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.699e-05/0.2253, allocations: 4 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.2253, allocations: 192 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.2254, allocations: 11.98 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.434e-05/0.2254, allocations: 87.22 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2254, allocations: 0 / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002563/0.2257, allocations: 35.92 kB / 1.092 GB, free: 12.91 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.0005944/0.2263, allocations: 0.7798 MB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001115/0.2264, allocations: 35.92 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2264, allocations: 0 / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.89e-05/0.2264, allocations: 19.98 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.2266, allocations: 4 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000929/0.2276, allocations: 1.306 MB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001925/0.2278, allocations: 0.6768 MB / 1.095 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.859e-05/0.2278, allocations: 4 kB / 1.095 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.652e-05/0.2278, allocations: 23.47 kB / 1.095 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.2278, allocations: 0 / 1.095 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6375/0.8653, allocations: 2.104 MB / 1.097 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.797/8.663, allocations: 7.922 kB / 1.097 GB, free: 7.898 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