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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001332/0.001331, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001381/0.001381, allocations: 197.9 kB / 16.14 MB, free: 6.711 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.28/1.28, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.389/2.389, allocations: 437 MB / 0.7099 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 67.89 kB / 0.8686 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5004/0.5016, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002004/0.5036, allocations: 1.292 MB / 1.018 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007574/0.5044, allocations: 454.7 kB / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.77e-05/0.5044, allocations: 3.938 kB / 1.018 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.395e-05/0.5045, allocations: 0 / 1.018 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.15e-05/0.5045, allocations: 3.938 kB / 1.018 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003935/0.5049, allocations: 95.77 kB / 1.018 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.453e-05/0.505, allocations: 27.86 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.276e-05/0.505, allocations: 4 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.973e-05/0.505, allocations: 11.98 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.251e-05/0.5051, allocations: 7.922 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.5051, allocations: 4 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000173/0.5053, allocations: 103.8 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.283e-05/0.5053, allocations: 0 / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.791e-05/0.5053, allocations: 19.92 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.5055, allocations: 95.8 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.5055, allocations: 4 kB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of FrontEnd: time 6.51e-07/0.5055, allocations: 0 / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.738e-06/0.5055, allocations: 4 kB / 1.019 GB, free: 0.6484 MB / 0.7637 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.0003839/0.5059, allocations: 389.3 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.5059, allocations: 8.031 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.849e-05/0.506, allocations: 38.66 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.396e-05/0.506, allocations: 0.9375 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.5061, allocations: 172.3 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.5061, allocations: 384 / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.5062, allocations: 20.34 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.499e-05/0.5063, allocations: 46.19 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.5063, allocations: 3.938 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.5063, allocations: 0 / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.247e-06/0.5063, allocations: 0 / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.305e-05/0.5063, allocations: 4 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002643/0.5066, allocations: 252.9 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.854e-05/0.5067, allocations: 42.45 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.87e-05/0.5067, allocations: 20.97 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.953e-06/0.5067, allocations: 0 / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001145/0.5069, allocations: 55.41 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.5069, allocations: 0 / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0001823/0.5071, allocations: 77.67 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.5071, allocations: 63.34 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.567e-05/0.5072, allocations: 101.8 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.5072, allocations: 29.7 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.425e-05/0.5072, allocations: 80.14 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.5072, allocations: 23.78 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.5073, allocations: 21.72 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.855e-05/0.5074, allocations: 318.8 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.29e-05/0.5074, allocations: 8 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.312e-05/0.5074, allocations: 52.16 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.105e-05/0.5075, allocations: 56.23 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.5075, allocations: 7.938 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001026/0.5076, allocations: 81.45 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.5076, allocations: 8 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.5077, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.5077, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.782e-05/0.5077, allocations: 12.5 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.5077, allocations: 7.922 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.951e-05/0.5078, allocations: 11.94 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.5078, allocations: 0 / 1.021 GB, free: 14.41 MB / 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.104e-05/0.5079, allocations: 122.4 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.5079, allocations: 7.906 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.086e-05/0.5079, allocations: 7.969 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.5079, allocations: 96 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5079, allocations: 3.984 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.5079, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002446/0.5082, allocations: 310.5 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.5082, allocations: 0 / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.361e-05/0.5082, allocations: 4 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.5082, allocations: 11.98 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.5082, allocations: 0 / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.5082, allocations: 0 / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5082, allocations: 0 / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/0.5084, allocations: 163.5 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.73e-05/0.5084, allocations: 85 kB / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.5084, allocations: 4 kB / 1.021 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.854e-05/0.5085, allocations: 0 / 1.021 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.977e-05/0.5085, allocations: 8 kB / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.5085, allocations: 7.938 kB / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.311e-05/0.5086, allocations: 83.27 kB / 1.021 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5086, allocations: 0 / 1.021 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002674/0.5089, allocations: 35.94 kB / 1.022 GB, free: 13.47 MB / 0.7794 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.0006275/0.5095, allocations: 0.7836 MB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.709e-05/0.5096, allocations: 39.92 kB / 1.022 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.5096, allocations: 0 / 1.022 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.94e-05/0.5096, allocations: 19.94 kB / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001851/0.5098, allocations: 3.984 kB / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009746/0.5108, allocations: 1.31 MB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.511, allocations: 0.6848 MB / 1.024 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.43e-05/0.5111, allocations: 7.969 kB / 1.024 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.541e-05/0.5111, allocations: 15.44 kB / 1.024 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.5111, allocations: 0 / 1.024 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.043/2.555, allocations: 1.958 MB / 1.026 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002234/2.555, allocations: 235 kB / 1.026 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.12/4.675, allocations: 0 / 1.026 GB, free: 8.355 MB / 0.7794 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=50 --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