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.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.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.008463/0.008463, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.001814/0.001814, allocations: 187.3 kB / 16.67 MB, free: 5.98 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.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.586/2.586, allocations: 437.1 MB / 0.7105 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002299/0.002299, allocations: 63.91 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3414, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002593/0.344, allocations: 1.219 MB / 1.167 GB, free: 6.055 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.345, allocations: 442.8 kB / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.45e-05/0.3451, allocations: 0 / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.453e-05/0.3451, allocations: 7.922 kB / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.823e-05/0.3452, allocations: 0 / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007256/0.346, allocations: 99.64 kB / 1.168 GB, free: 5.516 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.553e-05/0.3461, allocations: 23.92 kB / 1.168 GB, free: 5.492 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.413e-05/0.3461, allocations: 4 kB / 1.168 GB, free: 5.488 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.704e-05/0.3462, allocations: 4 kB / 1.168 GB, free: 5.484 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.04e-05/0.3462, allocations: 23.91 kB / 1.168 GB, free: 5.461 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.3462, allocations: 0 / 1.168 GB, free: 5.461 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002775/0.3465, allocations: 99.83 kB / 1.168 GB, free: 5.363 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.3465, allocations: 0 / 1.168 GB, free: 5.363 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.3466, allocations: 15.94 kB / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002377/0.3468, allocations: 95.8 kB / 1.168 GB, free: 5.254 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3468, allocations: 0 / 1.168 GB, free: 5.254 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3468, allocations: 0 / 1.168 GB, free: 5.254 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.3469, allocations: 0 / 1.168 GB, free: 5.254 MB / 0.92 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.0005421/0.3474, allocations: 384 kB / 1.168 GB, free: 4.824 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.3475, allocations: 8.031 kB / 1.168 GB, free: 4.816 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.719e-05/0.3475, allocations: 38.75 kB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.358e-05/0.3476, allocations: 0.9375 kB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.3477, allocations: 164.4 kB / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.3477, allocations: 4.375 kB / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.3477, allocations: 4.312 kB / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.3479, allocations: 42.25 kB / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.3479, allocations: 3.938 kB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.3479, allocations: 0 / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.3479, allocations: 4 kB / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.815e-05/0.348, allocations: 11.92 kB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.3483, allocations: 248.9 kB / 1.169 GB, free: 4.203 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.3484, allocations: 42.44 kB / 1.169 GB, free: 4.152 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.081e-05/0.3485, allocations: 20.88 kB / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.3485, allocations: 4 kB / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001867/0.3487, allocations: 59.39 kB / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.613e-06/0.3487, allocations: 0 / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.0002293/0.3489, allocations: 69.62 kB / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.349, allocations: 55.41 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.319e-05/0.3491, allocations: 102.4 kB / 1.169 GB, free: 3.805 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.3491, allocations: 29.7 kB / 1.169 GB, free: 3.77 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.753e-05/0.3492, allocations: 84.14 kB / 1.169 GB, free: 3.684 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.3492, allocations: 16.03 kB / 1.169 GB, free: 3.668 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.949e-05/0.3493, allocations: 25.7 kB / 1.169 GB, free: 3.637 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.3494, allocations: 314.8 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.696e-05/0.3494, allocations: 11.98 kB / 1.17 GB, free: 3.309 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.164e-05/0.3495, allocations: 31.42 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.396e-05/0.3496, allocations: 59.36 kB / 1.17 GB, free: 3.195 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.3496, allocations: 3.938 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000121/0.3497, allocations: 65.62 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.3497, allocations: 8 kB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.3497, allocations: 0 / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.3497, allocations: 0 / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.037e-05/0.3498, allocations: 15.92 kB / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.3498, allocations: 8.062 kB / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.997e-05/0.3499, allocations: 3.906 kB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.3499, allocations: 4.25 kB / 1.17 GB, free: 3.082 MB / 0.92 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 9.707e-05/0.35, allocations: 113.8 kB / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.461e-05/0.35, allocations: 4 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.709e-05/0.35, allocations: 3.562 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.3501, allocations: 7.984 kB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.3501, allocations: 0 / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.3501, allocations: 0 / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002981/0.3504, allocations: 306.5 kB / 1.17 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3504, allocations: 288 / 1.17 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.585e-05/0.3504, allocations: 7.984 kB / 1.17 GB, free: 2.578 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3504, allocations: 3.938 kB / 1.17 GB, free: 2.574 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.3505, allocations: 0 / 1.17 GB, free: 2.574 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3505, allocations: 0 / 1.17 GB, free: 2.574 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3505, allocations: 4.156 kB / 1.17 GB, free: 2.57 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/0.3507, allocations: 171.4 kB / 1.171 GB, free: 2.387 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.732e-05/0.3507, allocations: 88.94 kB / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.3507, allocations: 0 / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.29e-05/0.3508, allocations: 0 / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.51e-05/0.3508, allocations: 4 kB / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-06/0.3508, allocations: 0 / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.758e-05/0.3509, allocations: 83.27 kB / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of sort global known variables: time 2e-07/0.3509, allocations: 0 / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003166/0.3512, allocations: 35.94 kB / 1.171 GB, free: 2.16 MB / 0.92 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.0007452/0.352, allocations: 0.7655 MB / 1.172 GB, free: 1.379 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001187/0.3521, allocations: 31.92 kB / 1.172 GB, free: 1.348 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3521, allocations: 128 / 1.172 GB, free: 1.348 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.395e-05/0.3522, allocations: 23.92 kB / 1.172 GB, free: 1.324 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.3524, allocations: 9.875 kB / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.3535, allocations: 1.273 MB / 1.173 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.3538, allocations: 0.6807 MB / 1.173 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.627e-05/0.3539, allocations: 7.984 kB / 1.173 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.928e-05/0.3539, allocations: 11.38 kB / 1.173 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.3539, allocations: 0 / 1.173 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01992/0.3738, allocations: 2.008 MB / 1.175 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.87/8.244, allocations: 10.52 kB / 1.175 GB, free: 13.29 MB / 0.9356 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