Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.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.Logit1D,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_10_Buildings_Occupants_BaseClasses_Validation_Logit1D",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.001403/0.001403, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001557/0.001557, allocations: 198.4 kB / 16.14 MB, free: 6.793 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.294/1.294, allocations: 222.9 MB / 239.8 MB, free: 4.578 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.459/2.459, allocations: 437 MB / 0.7099 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 67.89 kB / 0.8687 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5547/0.5562, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002053/0.5583, allocations: 1.28 MB / 1.018 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007404/0.559, allocations: 454.5 kB / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.833e-05/0.5591, allocations: 0 / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.453e-05/0.5591, allocations: 0 / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.34e-05/0.5592, allocations: 3.938 kB / 1.018 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003887/0.5596, allocations: 79.8 kB / 1.018 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.354e-05/0.5596, allocations: 19.98 kB / 1.018 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.387e-05/0.5596, allocations: 7.984 kB / 1.018 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.812e-05/0.5597, allocations: 11.94 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.044e-05/0.5597, allocations: 7.984 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.5597, allocations: 4 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001749/0.5599, allocations: 95.83 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.473e-05/0.5599, allocations: 7.938 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.648e-05/0.5599, allocations: 8 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.5601, allocations: 95.8 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.5601, allocations: 0 / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.72e-07/0.5601, allocations: 0 / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.5601, allocations: 0 / 1.019 GB, free: 0.6914 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003697/0.5605, allocations: 391.4 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.5605, allocations: 8.031 kB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.576e-05/0.5606, allocations: 34.75 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.451e-05/0.5606, allocations: 4.844 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.886e-05/0.5607, allocations: 168.3 kB / 1.019 GB, free: 16 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.5607, allocations: 4.375 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.5608, allocations: 4.359 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.38e-05/0.5608, allocations: 42.25 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.5609, allocations: 3.938 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-06/0.5609, allocations: 4 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.5609, allocations: 0 / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.959e-05/0.5609, allocations: 7.984 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002472/0.5612, allocations: 252.9 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.295e-05/0.5612, allocations: 34.52 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.202e-05/0.5613, allocations: 20.94 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.484e-06/0.5613, allocations: 4 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001174/0.5614, allocations: 55.39 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/0.5614, allocations: 0 / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0001703/0.5616, allocations: 81.53 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.5616, allocations: 59.39 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.412e-05/0.5617, allocations: 101.8 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.5617, allocations: 25.7 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.74e-05/0.5618, allocations: 84.14 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.442e-05/0.5618, allocations: 11.91 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.182e-05/0.5618, allocations: 25.64 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.687e-05/0.5619, allocations: 314.8 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.091e-05/0.5619, allocations: 11.98 kB / 1.02 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.974e-05/0.5619, allocations: 31.44 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.499e-05/0.562, allocations: 55.36 kB / 1.02 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.562, allocations: 3.938 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.212e-05/0.5621, allocations: 73.75 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.5621, allocations: 8 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.5621, allocations: 7.922 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.326e-06/0.5622, allocations: 0 / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.199e-05/0.5622, allocations: 16.05 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.5622, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.179e-05/0.5622, allocations: 4 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.557e-06/0.5623, allocations: 8 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * 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.832e-05/0.5623, allocations: 110.3 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.549e-05/0.5624, allocations: 11.84 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.824e-05/0.5624, allocations: 7.562 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.5624, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.5624, allocations: 3.984 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.5624, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.5626, allocations: 298.5 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.5626, allocations: 0 / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.79e-05/0.5626, allocations: 7.984 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.5626, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.5627, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.5627, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.5627, allocations: 4 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.5628, allocations: 167.7 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.878e-05/0.5628, allocations: 81.16 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.5629, allocations: 4 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.737e-05/0.5629, allocations: 0 / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.763e-05/0.5629, allocations: 4 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.5629, allocations: 0 / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.153e-05/0.563, allocations: 87.27 kB / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.563, allocations: 0 / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002617/0.5632, allocations: 35.94 kB / 1.021 GB, free: 13.59 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 (5): * Single equations (assignments): 3 * 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.0005571/0.5638, allocations: 0.7721 MB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.013e-05/0.5639, allocations: 36.16 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.5639, allocations: 4.125 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.455e-05/0.564, allocations: 11.98 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.5642, allocations: 8 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008403/0.565, allocations: 1.267 MB / 1.023 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001747/0.5652, allocations: 0.677 MB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.719e-05/0.5652, allocations: 4.25 kB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.306e-05/0.5652, allocations: 15.44 kB / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.5652, allocations: 0 / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.508/2.073, allocations: 1.873 MB / 1.026 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001996/2.073, allocations: 245.2 kB / 1.026 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.803/3.877, allocations: 0 / 1.026 GB, free: 8.633 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_BaseClasses_Validation_Logit1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_BaseClasses_Validation_Logit1D.fmu > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,seed,time,x,y