Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.Electrical.DC.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_11_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.007995/0.007995, allocations: 97.62 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.002033/0.002033, allocations: 202.1 kB / 16.68 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.415/1.415, 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.1.0-maint.11.x/package.mo): time 2.761/2.761, allocations: 469.8 MB / 0.7425 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 64.12 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3153, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004046/0.3194, allocations: 2.52 MB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.3208, allocations: 0.7673 MB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.113e-05/0.3209, allocations: 4 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001171/0.3221, allocations: 0.5298 MB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002775/0.3224, allocations: 107.5 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003093/0.3227, allocations: 115.7 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002624/0.323, allocations: 195.4 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003462/0.3234, allocations: 166.1 kB / 1.224 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.3235, allocations: 79.75 kB / 1.224 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002159/0.3237, allocations: 95.64 kB / 1.225 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.3237, allocations: 16 kB / 1.225 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002081/0.3239, allocations: 111.8 kB / 1.225 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.518e-05/0.324, allocations: 55.88 kB / 1.225 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.281e-05/0.3241, allocations: 71.61 kB / 1.225 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000318/0.3244, allocations: 223.1 kB / 1.225 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.3245, allocations: 3.938 kB / 1.225 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3245, allocations: 0 / 1.225 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.3245, allocations: 0 / 1.225 GB, free: 9.242 MB / 0.9825 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.0006373/0.3251, allocations: 451 kB / 1.225 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.3252, allocations: 12.03 kB / 1.225 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.082e-05/0.3252, allocations: 50.73 kB / 1.226 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003626/0.3256, allocations: 44.8 kB / 1.226 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.3259, allocations: 220.1 kB / 1.226 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.3259, allocations: 8.656 kB / 1.226 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.3259, allocations: 8.375 kB / 1.226 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003805/0.3263, allocations: 243 kB / 1.226 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.3263, allocations: 0 / 1.226 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.3263, allocations: 11.94 kB / 1.226 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.96e-05/0.3264, allocations: 12.27 kB / 1.226 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002376/0.3266, allocations: 144.7 kB / 1.226 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.3278, allocations: 1.131 MB / 1.227 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.204e-05/0.3279, allocations: 38.56 kB / 1.227 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.337e-05/0.3279, allocations: 16.86 kB / 1.227 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.3279, allocations: 7.938 kB / 1.227 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.328, allocations: 30.56 kB / 1.227 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 3.046e-06/0.328, allocations: 3.984 kB / 1.227 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0001888/0.3282, allocations: 81.66 kB / 1.227 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.3282, allocations: 51.41 kB / 1.228 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.3284, allocations: 179.7 kB / 1.228 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.3284, allocations: 25.7 kB / 1.228 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.3285, allocations: 143.7 kB / 1.228 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.528e-05/0.3285, allocations: 19.83 kB / 1.228 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.326e-05/0.3286, allocations: 33.67 kB / 1.228 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3287, allocations: 318.8 kB / 1.228 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.863e-05/0.3288, allocations: 28.84 kB / 1.228 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.098e-05/0.3289, allocations: 97.25 kB / 1.228 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.3291, allocations: 121.3 kB / 1.228 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3291, allocations: 0 / 1.228 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002004/0.3293, allocations: 137.5 kB / 1.229 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.3293, allocations: 8 kB / 1.229 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3293, allocations: 4 kB / 1.229 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.3293, allocations: 3.938 kB / 1.229 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.3295, allocations: 27.92 kB / 1.229 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.3295, allocations: 7.938 kB / 1.229 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.492e-05/0.3296, allocations: 19.89 kB / 1.229 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.3296, allocations: 4 kB / 1.229 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000104/0.3297, allocations: 120.1 kB / 1.229 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.481e-05/0.3298, allocations: 97.56 kB / 1.229 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001325/0.3299, allocations: 121.2 kB / 1.229 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.152e-06/0.3299, allocations: 4 kB / 1.229 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001948/0.3301, allocations: 133.4 kB / 1.229 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.3301, allocations: 8 kB / 1.229 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-06/0.3302, allocations: 3.938 kB / 1.229 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.709e-06/0.3302, allocations: 4 kB / 1.229 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.918e-05/0.3302, allocations: 31.92 kB / 1.229 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.3303, allocations: 4.312 kB / 1.229 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.984e-05/0.3303, allocations: 12 kB / 1.229 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.3303, allocations: 4 kB / 1.229 GB, free: 4.543 MB / 0.9825 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.0001113/0.3305, allocations: 192.1 kB / 1.229 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.976e-05/0.3305, allocations: 11.94 kB / 1.229 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.597e-05/0.3305, allocations: 16.88 kB / 1.229 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3305, allocations: 0 / 1.229 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.3306, allocations: 4 kB / 1.229 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3306, allocations: 0 / 1.229 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004757/0.331, allocations: 481 kB / 1.23 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3311, allocations: 0 / 1.23 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.378e-05/0.3311, allocations: 11.98 kB / 1.23 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.3311, allocations: 0 / 1.23 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.3311, allocations: 0 / 1.23 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.3311, allocations: 4 kB / 1.23 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3311, allocations: 4.125 kB / 1.23 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.3313, allocations: 115.8 kB / 1.23 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.853e-05/0.3313, allocations: 89.09 kB / 1.23 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.3314, allocations: 11.98 kB / 1.23 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.395e-05/0.3314, allocations: 4 kB / 1.23 GB, free: 3.492 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.504e-05/0.3314, allocations: 0 / 1.23 GB, free: 3.492 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.3314, allocations: 4 kB / 1.23 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.873e-05/0.3315, allocations: 123.9 kB / 1.23 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3315, allocations: 0 / 1.23 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003357/0.3319, allocations: 51.89 kB / 1.23 GB, free: 3.316 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.0004394/0.3323, allocations: 0.6601 MB / 1.231 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002038/0.3325, allocations: 112.8 kB / 1.231 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3326, allocations: 3.938 kB / 1.231 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.886e-05/0.3326, allocations: 23.88 kB / 1.231 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.3328, allocations: 19.27 kB / 1.231 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.3347, allocations: 1.749 MB / 1.233 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.3351, allocations: 0.7202 MB / 1.233 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.114e-05/0.3352, allocations: 28.62 kB / 1.233 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.039e-05/0.3352, allocations: 35.42 kB / 1.234 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of SimCode: time 2.8e-07/0.3353, allocations: 0 / 1.234 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02273/0.358, allocations: 2.407 MB / 1.236 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.888/8.246, allocations: 11.98 kB / 1.236 GB, free: 13.43 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor.fmu > Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches