Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Occupants_BaseClasses_Validation_Logit2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Logit2D,fileNamePrefix="Buildings_11_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.001293/0.001293, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.285/1.285, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.582/2.582, allocations: 469.8 MB / 0.7424 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 68.44 kB / 0.9086 GB, free: 34.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2956, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002328/0.298, allocations: 1.219 MB / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008586/0.2989, allocations: 460.3 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.946e-05/0.2989, allocations: 0 / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.762e-05/0.2989, allocations: 3.938 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.704e-05/0.299, allocations: 4 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005496/0.2995, allocations: 115.6 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.504e-05/0.2996, allocations: 15.94 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.577e-05/0.2997, allocations: 7.984 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.303e-05/0.2997, allocations: 11.94 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.615e-05/0.2997, allocations: 11.92 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.2997, allocations: 0 / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002378/0.3, allocations: 107.9 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.581e-05/0.3, allocations: 0 / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.237e-05/0.3001, allocations: 19.91 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.3003, allocations: 103.8 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3003, allocations: 0 / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3003, allocations: 0 / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.3003, allocations: 0 / 1.066 GB, free: 12.12 MB / 0.8262 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.0005646/0.3009, allocations: 397.3 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.3009, allocations: 8.031 kB / 1.066 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.217e-05/0.301, allocations: 30.75 kB / 1.067 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.24e-05/0.301, allocations: 4.938 kB / 1.067 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.3012, allocations: 164.3 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.3012, allocations: 8.375 kB / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.3012, allocations: 8.359 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.3014, allocations: 42.25 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3014, allocations: 3.938 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.3014, allocations: 4 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.768e-06/0.3014, allocations: 0 / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.174e-05/0.3015, allocations: 7.938 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.3018, allocations: 253 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.439e-05/0.3019, allocations: 30.52 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.017e-05/0.302, allocations: 24.95 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.137e-06/0.302, allocations: 4 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001619/0.3022, allocations: 59.34 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.3022, allocations: 4 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0002428/0.3024, allocations: 85.61 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.3025, allocations: 55.41 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.634e-05/0.3026, allocations: 105.8 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.3026, allocations: 25.7 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.776e-05/0.3026, allocations: 84.05 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.077e-05/0.3027, allocations: 23.73 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.99e-05/0.3027, allocations: 17.72 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3029, allocations: 322.8 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.506e-05/0.3029, allocations: 11.92 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.543e-05/0.303, allocations: 40.28 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.82e-05/0.303, allocations: 64.23 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.303, allocations: 3.938 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001239/0.3032, allocations: 81.48 kB / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.3032, allocations: 4 kB / 1.068 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.3032, allocations: 4 kB / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.3032, allocations: 0 / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.129e-05/0.3033, allocations: 8 kB / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.3033, allocations: 4 kB / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.092e-05/0.3033, allocations: 7.984 kB / 1.068 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.3034, allocations: 8.094 kB / 1.068 GB, free: 9.883 MB / 0.8262 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 8.697e-05/0.3034, allocations: 121.7 kB / 1.068 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.298e-05/0.3035, allocations: 3.906 kB / 1.068 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.326e-05/0.3035, allocations: 7.969 kB / 1.068 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3035, allocations: 0 / 1.068 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3035, allocations: 0 / 1.068 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3035, allocations: 0 / 1.068 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002908/0.3038, allocations: 314.5 kB / 1.068 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3038, allocations: 4.562 kB / 1.068 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.607e-05/0.3038, allocations: 4 kB / 1.068 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.3039, allocations: 3.984 kB / 1.068 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.3039, allocations: 0 / 1.068 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/0.3039, allocations: 11.94 kB / 1.068 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3039, allocations: 192 / 1.068 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.3041, allocations: 167.4 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.599e-05/0.3041, allocations: 85.03 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.3041, allocations: 4 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.297e-05/0.3042, allocations: 4 kB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.146e-05/0.3042, allocations: 4 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.3042, allocations: 0 / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.056e-05/0.3043, allocations: 83.27 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3043, allocations: 0 / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002846/0.3046, allocations: 39.94 kB / 1.069 GB, free: 8.941 MB / 0.8262 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.0007816/0.3054, allocations: 0.7828 MB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000127/0.3055, allocations: 43.92 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.3055, allocations: 0 / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.418e-05/0.3056, allocations: 16.31 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.3058, allocations: 12.17 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.307, allocations: 1.303 MB / 1.071 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.3074, allocations: 0.6807 MB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.088e-05/0.3074, allocations: 11.97 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.055e-05/0.3074, allocations: 7.438 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of SimCode: time 3.91e-07/0.3074, allocations: 3.938 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7024/1.01, allocations: 2.061 MB / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.749/9.759, allocations: 9.5 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit2D_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_BaseClasses_Validation_Logit2D.fmu > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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