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.0008701/0.0008698, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00622/0.00622, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.426/1.426, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.553/2.553, allocations: 437.8 MB / 0.7121 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004839/0.000484, allocations: 11.98 kB / 0.8729 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7237/0.7242, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.001174/0.7254, allocations: 0.9449 MB / 1.024 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008128/0.7262, allocations: 438.7 kB / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.775e-05/0.7262, allocations: 0 / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.327e-05/0.7263, allocations: 4 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.062e-05/0.7263, allocations: 4 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004016/0.7267, allocations: 83.78 kB / 1.025 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.318e-05/0.7268, allocations: 19.94 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.651e-05/0.7268, allocations: 3.984 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.84e-05/0.7268, allocations: 7.938 kB / 1.025 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.716e-05/0.7269, allocations: 11.98 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.628e-06/0.7269, allocations: 0 / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001924/0.7271, allocations: 91.89 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.962e-05/0.7271, allocations: 15.92 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.167e-05/0.7272, allocations: 37.64 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.7273, allocations: 95.8 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.7273, allocations: 0 / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.253e-06/0.7273, allocations: 0 / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.935e-06/0.7274, allocations: 0 / 1.025 GB, free: 14.11 MB / 0.7794 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.0004001/0.7278, allocations: 379.4 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.7278, allocations: 8.031 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.959e-05/0.7279, allocations: 30.75 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.443e-05/0.7279, allocations: 12.84 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.716e-05/0.728, allocations: 168.4 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.728, allocations: 4.375 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.728, allocations: 8.359 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.462e-05/0.7281, allocations: 42.19 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.7282, allocations: 3.938 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.7282, allocations: 4 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.7282, allocations: 0 / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.168e-05/0.7282, allocations: 11.92 kB / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002821/0.7285, allocations: 248.9 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.277e-05/0.7286, allocations: 38.5 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.472e-05/0.7286, allocations: 16.86 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.774e-06/0.7287, allocations: 3.938 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001337/0.7288, allocations: 59.48 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.7288, allocations: 0 / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0001784/0.729, allocations: 69.69 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.729, allocations: 55.41 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.89e-05/0.7291, allocations: 109.7 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.7291, allocations: 25.7 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.004e-05/0.7292, allocations: 84.14 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.7292, allocations: 11.89 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.53e-05/0.7292, allocations: 17.72 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.7293, allocations: 314.8 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.172e-05/0.7294, allocations: 11.98 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.559e-05/0.7294, allocations: 31.44 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.999e-05/0.7295, allocations: 51.36 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.7295, allocations: 7.938 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.931e-05/0.7296, allocations: 69.77 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.7296, allocations: 8 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.7296, allocations: 3.938 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.7296, allocations: 48 / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.236e-05/0.7297, allocations: 19.91 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.7297, allocations: 4 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.233e-05/0.7297, allocations: 0 / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.7297, allocations: 4 kB / 1.027 GB, free: 11.95 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.888e-05/0.7298, allocations: 119.7 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.06e-05/0.7298, allocations: 4 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.009e-05/0.7299, allocations: 7.562 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.7299, allocations: 3.984 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.7299, allocations: 0 / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.7299, allocations: 0 / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002473/0.7301, allocations: 306.4 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.7301, allocations: 320 / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.197e-05/0.7302, allocations: 11.98 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.7302, allocations: 0 / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.7302, allocations: 4 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.7302, allocations: 7.938 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7302, allocations: 0 / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.7303, allocations: 163.4 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.163e-05/0.7304, allocations: 81.09 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.7304, allocations: 0 / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.791e-05/0.7305, allocations: 0 / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.043e-05/0.7305, allocations: 11.94 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.7305, allocations: 0 / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.563e-05/0.7305, allocations: 87.27 kB / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7305, allocations: 0 / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002848/0.7308, allocations: 31.94 kB / 1.027 GB, free: 11.03 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.000653/0.7315, allocations: 0.7689 MB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.16e-05/0.7316, allocations: 32.16 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.7316, allocations: 4 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.374e-05/0.7316, allocations: 11.98 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.7318, allocations: 8 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009911/0.7328, allocations: 1.269 MB / 1.03 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.7331, allocations: 0.6809 MB / 1.03 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.977e-05/0.7331, allocations: 8.25 kB / 1.03 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.223e-05/0.7331, allocations: 11.44 kB / 1.03 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.7331, allocations: 0 / 1.03 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.228/1.961, allocations: 1.781 MB / 1.032 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002945/1.962, allocations: 245.7 kB / 1.032 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.102/4.064, allocations: 0 / 1.032 GB, free: 6.18 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