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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.004391/0.004391, allocations: 100.5 kB / 15.73 MB, free: 6.02 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.001118/0.001118, allocations: 192 kB / 16.67 MB, free: 5.93 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.623/2.623, allocations: 482.6 MB / 0.755 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 68.09 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3015, allocations: 162.3 MB / 1.242 GB, free: 8.938 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002147/0.3037, allocations: 1.215 MB / 1.243 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008435/0.3046, allocations: 440.3 kB / 1.243 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.386e-05/0.3046, allocations: 0 / 1.243 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.88e-05/0.3047, allocations: 0 / 1.243 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.872e-05/0.3047, allocations: 3.938 kB / 1.243 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004982/0.3052, allocations: 111.6 kB / 1.244 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.569e-05/0.3053, allocations: 15.94 kB / 1.244 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.767e-05/0.3053, allocations: 3.984 kB / 1.244 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.908e-05/0.3053, allocations: 4 kB / 1.244 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.197e-05/0.3054, allocations: 15.91 kB / 1.244 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.3054, allocations: 4 kB / 1.244 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002007/0.3056, allocations: 99.91 kB / 1.244 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.728e-05/0.3056, allocations: 3.984 kB / 1.244 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.058e-05/0.3057, allocations: 11.94 kB / 1.244 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.3059, allocations: 105.2 kB / 1.244 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3059, allocations: 0 / 1.244 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3059, allocations: 0 / 1.244 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.3059, allocations: 0 / 1.244 GB, free: 6.91 MB / 0.9669 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.0004798/0.3064, allocations: 377 kB / 1.244 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.3064, allocations: 12.03 kB / 1.244 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.319e-05/0.3065, allocations: 38.73 kB / 1.244 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.82e-05/0.3065, allocations: 4.891 kB / 1.244 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.3066, allocations: 168.3 kB / 1.244 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.3067, allocations: 4.375 kB / 1.244 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/0.3067, allocations: 384 / 1.244 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.3068, allocations: 46.23 kB / 1.244 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.3068, allocations: 3.938 kB / 1.244 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.3068, allocations: 0 / 1.244 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.3068, allocations: 0 / 1.244 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.215e-05/0.3069, allocations: 15.88 kB / 1.244 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003168/0.3072, allocations: 245 kB / 1.245 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.421e-05/0.3073, allocations: 42.48 kB / 1.245 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.227e-05/0.3073, allocations: 16.86 kB / 1.245 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.3074, allocations: 96 / 1.245 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001268/0.3075, allocations: 63.33 kB / 1.245 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.353e-06/0.3075, allocations: 4 kB / 1.245 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0002015/0.3077, allocations: 73.62 kB / 1.245 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.3078, allocations: 55.41 kB / 1.245 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.915e-05/0.3079, allocations: 97.86 kB / 1.245 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.3079, allocations: 25.7 kB / 1.245 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.049e-05/0.3079, allocations: 92.12 kB / 1.245 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.335e-05/0.3079, allocations: 7.953 kB / 1.245 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.291e-05/0.308, allocations: 21.72 kB / 1.245 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.3081, allocations: 318.8 kB / 1.245 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.176e-05/0.3082, allocations: 7.938 kB / 1.245 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.358e-05/0.3082, allocations: 39.41 kB / 1.245 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.695e-05/0.3083, allocations: 51.38 kB / 1.246 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.3083, allocations: 3.938 kB / 1.246 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001131/0.3084, allocations: 77.56 kB / 1.246 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.3084, allocations: 8 kB / 1.246 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3084, allocations: 0 / 1.246 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.3085, allocations: 0 / 1.246 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.419e-05/0.3085, allocations: 8 kB / 1.246 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.3085, allocations: 4 kB / 1.246 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.621e-05/0.3086, allocations: 4.062 kB / 1.246 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.3086, allocations: 7.938 kB / 1.246 GB, free: 4.738 MB / 0.9669 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 8.898e-05/0.3087, allocations: 125.6 kB / 1.246 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.717e-05/0.3087, allocations: 7.953 kB / 1.246 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.066e-05/0.3087, allocations: 3.562 kB / 1.246 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.3087, allocations: 0 / 1.246 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.3087, allocations: 0 / 1.246 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3087, allocations: 0 / 1.246 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000284/0.309, allocations: 298.6 kB / 1.246 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.309, allocations: 4 kB / 1.246 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.823e-05/0.3091, allocations: 8.25 kB / 1.246 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3091, allocations: 4.219 kB / 1.246 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.3091, allocations: 4 kB / 1.246 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.3091, allocations: 8 kB / 1.246 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.3091, allocations: 0 / 1.246 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.3093, allocations: 163.5 kB / 1.246 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.578e-05/0.3093, allocations: 81.06 kB / 1.246 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.3093, allocations: 8 kB / 1.246 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.741e-05/0.3094, allocations: 0 / 1.246 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.185e-05/0.3094, allocations: 7.984 kB / 1.246 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.3094, allocations: 0 / 1.246 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.703e-05/0.3095, allocations: 79.28 kB / 1.246 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3095, allocations: 0 / 1.246 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000269/0.3098, allocations: 39.86 kB / 1.246 GB, free: 3.812 MB / 0.9669 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.0007728/0.3105, allocations: 0.7718 MB / 1.247 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001114/0.3107, allocations: 31.92 kB / 1.247 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3107, allocations: 0 / 1.247 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.005e-05/0.3107, allocations: 12 kB / 1.247 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.3109, allocations: 12.11 kB / 1.247 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.3121, allocations: 1.28 MB / 1.249 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.3124, allocations: 0.6807 MB / 1.249 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.059e-05/0.3124, allocations: 4.25 kB / 1.249 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.87e-05/0.3125, allocations: 15.44 kB / 1.249 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of SimCode: time 2.11e-07/0.3125, allocations: 0 / 1.249 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02199/0.3345, allocations: 2.015 MB / 1.251 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.438/7.772, allocations: 9.594 kB / 1.251 GB, free: 14.95 MB / 0.9825 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=400 --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