Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.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.Electrical.DC.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor",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.007542/0.007542, allocations: 101.2 kB / 15.73 MB, free: 6.031 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.001798/0.001798, allocations: 198.5 kB / 16.67 MB, free: 5.969 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.729/2.729, allocations: 461.9 MB / 0.7348 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 67.83 kB / 1.054 GB, free: 7.637 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2937, allocations: 157.4 MB / 1.207 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.00389/0.2977, allocations: 2.5 MB / 1.21 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001406/0.2991, allocations: 0.7867 MB / 1.21 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001512/0.2993, allocations: 4 kB / 1.21 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00135/0.3006, allocations: 0.5181 MB / 1.211 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000343/0.301, allocations: 115.5 kB / 1.211 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003528/0.3014, allocations: 109.8 kB / 1.211 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003125/0.3017, allocations: 195.3 kB / 1.211 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003917/0.3021, allocations: 170.1 kB / 1.212 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.3022, allocations: 79.77 kB / 1.212 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/0.3025, allocations: 95.64 kB / 1.212 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.576e-05/0.3025, allocations: 12 kB / 1.212 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002227/0.3027, allocations: 115.8 kB / 1.212 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.899e-05/0.3028, allocations: 51.83 kB / 1.212 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.3029, allocations: 75.66 kB / 1.212 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003797/0.3033, allocations: 219.6 kB / 1.212 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3033, allocations: 0 / 1.212 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.522e-06/0.3033, allocations: 0 / 1.212 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.3034, allocations: 0 / 1.212 GB, free: 5.078 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0008348/0.3042, allocations: 451.2 kB / 1.213 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.3043, allocations: 12.61 kB / 1.213 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.722e-05/0.3043, allocations: 46.75 kB / 1.213 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004171/0.3048, allocations: 48.7 kB / 1.213 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/0.3051, allocations: 220.1 kB / 1.213 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.3051, allocations: 12.64 kB / 1.213 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.312e-05/0.3051, allocations: 12.38 kB / 1.213 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004165/0.3056, allocations: 231 kB / 1.213 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.3056, allocations: 0 / 1.213 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.3056, allocations: 8 kB / 1.213 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.146e-05/0.3057, allocations: 20.27 kB / 1.213 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002534/0.3059, allocations: 144.7 kB / 1.213 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/0.3072, allocations: 1.13 MB / 1.214 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.971e-05/0.3073, allocations: 38.55 kB / 1.214 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.849e-05/0.3073, allocations: 16.86 kB / 1.214 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.3073, allocations: 7.984 kB / 1.214 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.3074, allocations: 38.58 kB / 1.215 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.3074, allocations: 0 / 1.215 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.000207/0.3076, allocations: 81.53 kB / 1.215 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.3076, allocations: 51.41 kB / 1.215 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.3078, allocations: 171 kB / 1.215 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.3078, allocations: 25.7 kB / 1.215 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.823e-05/0.3079, allocations: 139.4 kB / 1.215 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.487e-05/0.3079, allocations: 19.75 kB / 1.215 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.143e-05/0.308, allocations: 33.7 kB / 1.215 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.72e-05/0.3081, allocations: 314.8 kB / 1.215 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.552e-05/0.3081, allocations: 28.84 kB / 1.215 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.375e-05/0.3082, allocations: 93.36 kB / 1.215 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.3084, allocations: 121.3 kB / 1.216 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3084, allocations: 0 / 1.216 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001942/0.3086, allocations: 137.2 kB / 1.216 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.3086, allocations: 8 kB / 1.216 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.3086, allocations: 8 kB / 1.216 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.3086, allocations: 8.25 kB / 1.216 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.3087, allocations: 27.98 kB / 1.216 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.3088, allocations: 7.938 kB / 1.216 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.538e-05/0.3088, allocations: 15.84 kB / 1.216 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.3089, allocations: 4 kB / 1.216 GB, free: 1 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.891e-05/0.309, allocations: 124.1 kB / 1.216 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.956e-05/0.309, allocations: 89.38 kB / 1.216 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000119/0.3092, allocations: 129.2 kB / 1.216 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.923e-06/0.3092, allocations: 0 / 1.216 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001783/0.3094, allocations: 133.5 kB / 1.216 GB, free: 468 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.3094, allocations: 11.94 kB / 1.216 GB, free: 456 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-06/0.3094, allocations: 0 / 1.216 GB, free: 456 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.43e-06/0.3094, allocations: 4 kB / 1.216 GB, free: 452 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.651e-05/0.3095, allocations: 27.88 kB / 1.216 GB, free: 424 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3095, allocations: 11.97 kB / 1.216 GB, free: 412 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.515e-05/0.3096, allocations: 11.84 kB / 1.216 GB, free: 400 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.3096, allocations: 4 kB / 1.216 GB, free: 396 kB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001108/0.3097, allocations: 192.4 kB / 1.216 GB, free: 196 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/0.3097, allocations: 7.906 kB / 1.216 GB, free: 188 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.574e-05/0.3098, allocations: 16.88 kB / 1.216 GB, free: 172 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3098, allocations: 0 / 1.216 GB, free: 172 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3098, allocations: 0 / 1.216 GB, free: 172 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3098, allocations: 4.281 kB / 1.216 GB, free: 168 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004603/0.3103, allocations: 477.1 kB / 1.217 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.3103, allocations: 0 / 1.217 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.348e-05/0.3103, allocations: 8 kB / 1.217 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.3103, allocations: 3.984 kB / 1.217 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.3103, allocations: 0 / 1.217 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.3103, allocations: 4 kB / 1.217 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3104, allocations: 0 / 1.217 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001544/0.3105, allocations: 123.5 kB / 1.217 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.653e-05/0.3106, allocations: 89.02 kB / 1.217 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.3106, allocations: 0 / 1.217 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.412e-05/0.3107, allocations: 4 kB / 1.217 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.521e-05/0.3107, allocations: 3.984 kB / 1.217 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.3107, allocations: 4 kB / 1.217 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001219/0.3108, allocations: 132.9 kB / 1.217 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3108, allocations: 0 / 1.217 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003685/0.3112, allocations: 51.84 kB / 1.217 GB, free: 15.17 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0004435/0.3117, allocations: 0.6537 MB / 1.218 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002161/0.3119, allocations: 115.7 kB / 1.218 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3119, allocations: 1.25 kB / 1.218 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.5e-05/0.3119, allocations: 12 kB / 1.218 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.3122, allocations: 32.17 kB / 1.218 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.314, allocations: 1.739 MB / 1.22 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.3143, allocations: 0.7202 MB / 1.221 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.237e-05/0.3144, allocations: 36.55 kB / 1.221 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.001e-05/0.3145, allocations: 27.44 kB / 1.221 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of SimCode: time 5.11e-07/0.3145, allocations: 0 / 1.221 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01934/0.3338, allocations: 2.422 MB / 1.223 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.241/7.575, allocations: 12.12 kB / 1.223 GB, free: 9.297 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor.fmu > Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches