Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Electrical.DC.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_10_Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_10_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.004713/0.004713, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001375/0.001375, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.435/1.435, 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 10.1.1-maint.10.0.x/package.mo): time 2.769/2.769, allocations: 437 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 67.89 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.299, allocations: 151.6 MB / 1.166 GB, free: 7.316 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004104/0.3032, allocations: 2.499 MB / 1.169 GB, free: 4.797 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001358/0.3045, allocations: 0.779 MB / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.078e-05/0.3046, allocations: 4 kB / 1.169 GB, free: 4.012 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001163/0.3058, allocations: 0.5335 MB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002686/0.3061, allocations: 107.5 kB / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.3064, allocations: 118.6 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002609/0.3067, allocations: 195.4 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003485/0.307, allocations: 162.3 kB / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.738e-05/0.3071, allocations: 79.77 kB / 1.171 GB, free: 2.816 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.3074, allocations: 99.64 kB / 1.171 GB, free: 2.719 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.3074, allocations: 12 kB / 1.171 GB, free: 2.707 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001975/0.3076, allocations: 107.7 kB / 1.171 GB, free: 2.602 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.998e-05/0.3077, allocations: 55.88 kB / 1.171 GB, free: 2.547 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.633e-05/0.3078, allocations: 75.66 kB / 1.171 GB, free: 2.473 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003148/0.3081, allocations: 227.1 kB / 1.171 GB, free: 2.25 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3081, allocations: 0 / 1.171 GB, free: 2.25 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3081, allocations: 0 / 1.171 GB, free: 2.25 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.3081, allocations: 0 / 1.171 GB, free: 2.25 MB / 0.92 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.0006424/0.3088, allocations: 451 kB / 1.171 GB, free: 1.758 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.3088, allocations: 15.97 kB / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.318e-05/0.3089, allocations: 46.73 kB / 1.172 GB, free: 1.688 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003593/0.3092, allocations: 48.8 kB / 1.172 GB, free: 1.641 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.3095, allocations: 212.2 kB / 1.172 GB, free: 1.395 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.3095, allocations: 16.64 kB / 1.172 GB, free: 1.379 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.3096, allocations: 12.38 kB / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000378/0.31, allocations: 223.1 kB / 1.172 GB, free: 1.129 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.31, allocations: 7.938 kB / 1.172 GB, free: 1.121 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.31, allocations: 4 kB / 1.172 GB, free: 1.117 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.144e-05/0.31, allocations: 16.27 kB / 1.172 GB, free: 1.102 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002442/0.3103, allocations: 144.7 kB / 1.172 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.3115, allocations: 1.131 MB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.425e-05/0.3116, allocations: 38.56 kB / 1.173 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.673e-05/0.3116, allocations: 20.86 kB / 1.173 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.3117, allocations: 3.938 kB / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.3117, allocations: 34.56 kB / 1.173 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.3117, allocations: 0 / 1.173 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0002171/0.3119, allocations: 81.55 kB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.312, allocations: 55.41 kB / 1.174 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.3122, allocations: 175.8 kB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.3122, allocations: 25.7 kB / 1.174 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.3123, allocations: 151.6 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/0.3123, allocations: 19.84 kB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-05/0.3124, allocations: 29.67 kB / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3125, allocations: 326.8 kB / 1.174 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.254e-05/0.3126, allocations: 24.84 kB / 1.174 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.3127, allocations: 97.38 kB / 1.174 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.3129, allocations: 121.3 kB / 1.174 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3129, allocations: 0 / 1.174 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002249/0.3131, allocations: 141.6 kB / 1.175 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.3131, allocations: 4 kB / 1.175 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3131, allocations: 4 kB / 1.175 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.3132, allocations: 7.938 kB / 1.175 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.3133, allocations: 27.98 kB / 1.175 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.3133, allocations: 7.938 kB / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.124e-05/0.3134, allocations: 11.89 kB / 1.175 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.3134, allocations: 12.3 kB / 1.175 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001238/0.3135, allocations: 128.1 kB / 1.175 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.41e-05/0.3136, allocations: 81.44 kB / 1.175 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001493/0.3138, allocations: 117.3 kB / 1.175 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.915e-06/0.3138, allocations: 4 kB / 1.175 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0002159/0.314, allocations: 133.4 kB / 1.175 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.574e-06/0.314, allocations: 4 kB / 1.175 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.314, allocations: 4 kB / 1.175 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.759e-06/0.3141, allocations: 4.312 kB / 1.175 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.507e-05/0.3141, allocations: 39.86 kB / 1.175 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.3142, allocations: 0 / 1.175 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.025e-05/0.3142, allocations: 7.953 kB / 1.175 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.3142, allocations: 8 kB / 1.175 GB, free: 13.56 MB / 0.9356 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.0001167/0.3144, allocations: 196.1 kB / 1.175 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.166e-05/0.3144, allocations: 7.953 kB / 1.175 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.576e-05/0.3144, allocations: 16.88 kB / 1.175 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.3144, allocations: 0 / 1.175 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.3145, allocations: 4 kB / 1.175 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3145, allocations: 7.938 kB / 1.175 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004884/0.315, allocations: 473 kB / 1.176 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.315, allocations: 7.938 kB / 1.176 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.391e-05/0.315, allocations: 7.984 kB / 1.176 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.315, allocations: 4 kB / 1.176 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.315, allocations: 128 / 1.176 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.315, allocations: 4 kB / 1.176 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.315, allocations: 4 kB / 1.176 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.3152, allocations: 107.5 kB / 1.176 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.273e-05/0.3153, allocations: 101 kB / 1.176 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.3153, allocations: 4 kB / 1.176 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.494e-05/0.3153, allocations: 0 / 1.176 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.044e-05/0.3154, allocations: 4 kB / 1.176 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-06/0.3154, allocations: 0 / 1.176 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001167/0.3155, allocations: 131.9 kB / 1.176 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3155, allocations: 0 / 1.176 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003368/0.3158, allocations: 51.89 kB / 1.176 GB, free: 12.32 MB / 0.9356 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.000429/0.3163, allocations: 0.6461 MB / 1.177 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002113/0.3165, allocations: 112.3 kB / 1.177 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3165, allocations: 4 kB / 1.177 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.427e-05/0.3165, allocations: 12 kB / 1.177 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.3168, allocations: 20.31 kB / 1.177 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.3187, allocations: 1.742 MB / 1.179 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.319, allocations: 0.728 MB / 1.179 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.549e-05/0.3191, allocations: 28.61 kB / 1.179 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.425e-05/0.3192, allocations: 35.42 kB / 1.179 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of SimCode: time 4.31e-07/0.3192, allocations: 0 / 1.179 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0228/0.342, allocations: 2.404 MB / 1.182 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.729/8.071, allocations: 4.391 kB / 1.182 GB, free: 6.477 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor.fmu > Buildings_10_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches