Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Logit1D,fileNamePrefix="Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit1D,fileNamePrefix="Buildings_latest_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.009012/0.009012, allocations: 102.9 kB / 15.73 MB, free: 6.043 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.002024/0.002024, allocations: 188.4 kB / 16.67 MB, free: 5.961 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.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.631/2.631, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 59.91 kB / 1.054 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8919/0.8933, allocations: 157.4 MB / 1.207 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002451/0.8958, allocations: 1.225 MB / 1.208 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009358/0.8967, allocations: 434.5 kB / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.893e-05/0.8968, allocations: 0 / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.232e-05/0.8968, allocations: 0 / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.359e-05/0.8969, allocations: 3.938 kB / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006031/0.8975, allocations: 107.6 kB / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.2e-05/0.8976, allocations: 11.98 kB / 1.209 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.527e-05/0.8976, allocations: 4 kB / 1.209 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.273e-05/0.8977, allocations: 11.92 kB / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.947e-05/0.8977, allocations: 8 kB / 1.209 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.8977, allocations: 3.938 kB / 1.209 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002127/0.8979, allocations: 111.8 kB / 1.209 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/0.898, allocations: 3.984 kB / 1.209 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.369e-05/0.898, allocations: 15.92 kB / 1.209 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.8982, allocations: 95.81 kB / 1.209 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.8982, allocations: 0 / 1.209 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8982, allocations: 0 / 1.209 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.8982, allocations: 0 / 1.209 GB, free: 11.53 MB / 0.9356 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.0005125/0.8987, allocations: 375.4 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.8988, allocations: 15.97 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.95e-05/0.8989, allocations: 38.73 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.078e-05/0.8989, allocations: 0.9375 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.899, allocations: 172.3 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.8991, allocations: 384 / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.8991, allocations: 4.375 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.8992, allocations: 38.23 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.8992, allocations: 3.938 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.8992, allocations: 4 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.8992, allocations: 4 kB / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.347e-05/0.8993, allocations: 4 kB / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004134/0.8997, allocations: 252.8 kB / 1.21 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.023e-05/0.8998, allocations: 38.5 kB / 1.21 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/0.8998, allocations: 16.86 kB / 1.21 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.8999, allocations: 0 / 1.21 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00018/0.9001, allocations: 59.48 kB / 1.21 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/0.9001, allocations: 7.938 kB / 1.21 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5): time 0.0002089/0.9003, allocations: 69.67 kB / 1.21 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.9003, allocations: 55.41 kB / 1.21 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.941e-05/0.9004, allocations: 101.8 kB / 1.21 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.9005, allocations: 25.7 kB / 1.21 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.002e-05/0.9005, allocations: 96.12 kB / 1.211 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.9005, allocations: 7.812 kB / 1.211 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-05/0.9006, allocations: 21.72 kB / 1.211 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.9007, allocations: 318.8 kB / 1.211 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.097e-05/0.9007, allocations: 4 kB / 1.211 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.91e-05/0.9007, allocations: 39.36 kB / 1.211 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.052e-05/0.9008, allocations: 47.44 kB / 1.211 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.9008, allocations: 3.938 kB / 1.211 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001075/0.9009, allocations: 77.55 kB / 1.211 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.9009, allocations: 8 kB / 1.211 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.901, allocations: 0 / 1.211 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.901, allocations: 0 / 1.211 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.034e-05/0.901, allocations: 12.19 kB / 1.211 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.9011, allocations: 4.062 kB / 1.211 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.89e-05/0.9011, allocations: 11.91 kB / 1.211 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.9011, allocations: 4 kB / 1.211 GB, free: 9.363 MB / 0.9356 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 7.328e-05/0.9012, allocations: 121.7 kB / 1.211 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/0.9012, allocations: 4 kB / 1.211 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.61e-05/0.9012, allocations: 7.5 kB / 1.211 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.9012, allocations: 0 / 1.211 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.9012, allocations: 0 / 1.211 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.9013, allocations: 4 kB / 1.211 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002519/0.9015, allocations: 306.5 kB / 1.211 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.9015, allocations: 0 / 1.211 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-05/0.9015, allocations: 4 kB / 1.211 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.9016, allocations: 0 / 1.211 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.9016, allocations: 4 kB / 1.211 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.9016, allocations: 7.938 kB / 1.212 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.9016, allocations: 0 / 1.212 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.9017, allocations: 159.5 kB / 1.212 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.289e-05/0.9018, allocations: 85.02 kB / 1.212 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.9018, allocations: 4 kB / 1.212 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.876e-05/0.9018, allocations: 0 / 1.212 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.061e-05/0.9019, allocations: 7.984 kB / 1.212 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.9019, allocations: 0 / 1.212 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.607e-05/0.9019, allocations: 83.55 kB / 1.212 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9019, allocations: 0 / 1.212 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002933/0.9022, allocations: 39.92 kB / 1.212 GB, free: 8.441 MB / 0.9356 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.0008563/0.9031, allocations: 0.7724 MB / 1.213 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000166/0.9033, allocations: 31.92 kB / 1.213 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.9033, allocations: 0 / 1.213 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.1e-05/0.9034, allocations: 16.12 kB / 1.213 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.9037, allocations: 9.5 kB / 1.213 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.9052, allocations: 1.265 MB / 1.214 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.9056, allocations: 0.6768 MB / 1.215 GB, free: 5.535 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.625e-05/0.9056, allocations: 8 kB / 1.215 GB, free: 5.527 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.87e-05/0.9056, allocations: 11.44 kB / 1.215 GB, free: 5.516 MB / 0.9356 GB Notification: Performance of SimCode: time 2.645e-06/0.9057, allocations: 0 / 1.215 GB, free: 5.516 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02248/0.9281, allocations: 2.037 MB / 1.217 GB, free: 3.57 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.722/8.65, allocations: 6.859 kB / 1.217 GB, free: 3.566 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_BaseClasses_Validation_Logit1D.fmu > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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