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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009291/0.0009291, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.005975/0.005975, allocations: 173.7 kB / 16.27 MB, free: 6.648 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.252/1.252, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.382/2.382, allocations: 437.8 MB / 0.7121 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002911/0.0002911, allocations: 12 kB / 0.8729 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5411/0.5414, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.002914/0.5443, allocations: 2.208 MB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001304/0.5457, allocations: 0.7674 MB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.5458, allocations: 4 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001554/0.546, allocations: 27.78 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003412/0.5463, allocations: 103.7 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003215/0.5467, allocations: 91.83 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003229/0.547, allocations: 307.2 kB / 1.027 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002559/0.5473, allocations: 179.3 kB / 1.027 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.5474, allocations: 63.77 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002109/0.5476, allocations: 87.66 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.5476, allocations: 8 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002344/0.5479, allocations: 139.7 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.971e-05/0.5479, allocations: 55.81 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.106e-05/0.548, allocations: 93.36 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002733/0.5483, allocations: 221.5 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.5483, allocations: 0 / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.042e-06/0.5483, allocations: 0 / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.5483, allocations: 0 / 1.027 GB, free: 11.51 MB / 0.7794 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.0005361/0.5489, allocations: 415.4 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.5489, allocations: 12.03 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.894e-05/0.549, allocations: 46.73 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003709/0.5494, allocations: 60.7 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.5496, allocations: 219.9 kB / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.5496, allocations: 12.66 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.5496, allocations: 12.38 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003279/0.55, allocations: 219.5 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.55, allocations: 7.938 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.55, allocations: 8 kB / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.452e-05/0.5501, allocations: 20.22 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002216/0.5503, allocations: 144.7 kB / 1.028 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000985/0.5513, allocations: 1.131 MB / 1.03 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.826e-05/0.5514, allocations: 38.58 kB / 1.03 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.256e-05/0.5514, allocations: 20.94 kB / 1.03 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.5514, allocations: 7.984 kB / 1.03 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.5515, allocations: 30.56 kB / 1.03 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.5515, allocations: 3.938 kB / 1.03 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.000178/0.5516, allocations: 81.52 kB / 1.03 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.5517, allocations: 55.34 kB / 1.03 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.5518, allocations: 173.5 kB / 1.03 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.5519, allocations: 25.7 kB / 1.03 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.863e-05/0.552, allocations: 139.4 kB / 1.03 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.478e-05/0.552, allocations: 23.8 kB / 1.03 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.72e-05/0.552, allocations: 17.72 kB / 1.03 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.319e-05/0.5521, allocations: 318.8 kB / 1.03 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.857e-05/0.5522, allocations: 19.98 kB / 1.03 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.945e-05/0.5522, allocations: 90.56 kB / 1.031 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.5524, allocations: 121.2 kB / 1.031 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.5524, allocations: 0 / 1.031 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001806/0.5526, allocations: 129.7 kB / 1.031 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.103e-05/0.5527, allocations: 175.2 kB / 1.031 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.5527, allocations: 0 / 1.031 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.5527, allocations: 4 kB / 1.031 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.5528, allocations: 27.98 kB / 1.031 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.5528, allocations: 7.938 kB / 1.031 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.078e-05/0.5529, allocations: 19.72 kB / 1.031 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.5529, allocations: 8 kB / 1.031 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.223e-06/0.5529, allocations: 8 kB / 1.031 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001434/0.5531, allocations: 99.7 kB / 1.031 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.5531, allocations: 4 kB / 1.031 GB, free: 7.176 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.519e-06/0.5531, allocations: 4 kB / 1.031 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.721e-05/0.5532, allocations: 20 kB / 1.031 GB, free: 7.152 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.5532, allocations: 8.234 kB / 1.031 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.46e-05/0.5532, allocations: 15.91 kB / 1.031 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.5533, allocations: 7.938 kB / 1.031 GB, free: 7.121 MB / 0.7794 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.0001172/0.5534, allocations: 213.6 kB / 1.031 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.5534, allocations: 7.906 kB / 1.031 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.77e-05/0.5534, allocations: 12.94 kB / 1.031 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.5535, allocations: 0 / 1.031 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.5535, allocations: 0 / 1.031 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.5535, allocations: 7.938 kB / 1.031 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003853/0.5539, allocations: 473.1 kB / 1.032 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5539, allocations: 0 / 1.032 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.524e-05/0.5539, allocations: 15.92 kB / 1.032 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.5539, allocations: 0 / 1.032 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.5539, allocations: 4 kB / 1.032 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.5539, allocations: 4 kB / 1.032 GB, free: 6.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/0.5539, allocations: 4.062 kB / 1.032 GB, free: 6.316 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.5541, allocations: 111.5 kB / 1.032 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.697e-05/0.5541, allocations: 97.27 kB / 1.032 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.5542, allocations: 4 kB / 1.032 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.314e-05/0.5542, allocations: 0 / 1.032 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.318e-05/0.5542, allocations: 7.984 kB / 1.032 GB, free: 6.055 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.5542, allocations: 4 kB / 1.032 GB, free: 6.051 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.331e-05/0.5543, allocations: 128.9 kB / 1.032 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5543, allocations: 3.938 kB / 1.032 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003295/0.5546, allocations: 55.75 kB / 1.032 GB, free: 5.867 MB / 0.7794 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.000327/0.555, allocations: 0.65 MB / 1.033 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001774/0.5552, allocations: 108.9 kB / 1.033 GB, free: 5.074 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5552, allocations: 4.062 kB / 1.033 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.589e-05/0.5552, allocations: 15.94 kB / 1.033 GB, free: 5.055 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.5554, allocations: 23.92 kB / 1.033 GB, free: 5.031 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.557, allocations: 1.771 MB / 1.035 GB, free: 3.098 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.5573, allocations: 0.7241 MB / 1.036 GB, free: 2.348 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.852e-05/0.5574, allocations: 32.59 kB / 1.036 GB, free: 2.312 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.076e-05/0.5574, allocations: 35.44 kB / 1.036 GB, free: 2.277 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.5574, allocations: 0 / 1.036 GB, free: 2.277 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.186/1.744, allocations: 2.153 MB / 1.038 GB, free: 272 kB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002665/1.744, allocations: 210.4 kB / 1.038 GB, free: 8 kB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.733/3.477, allocations: 0 / 1.038 GB, free: 8 kB / 0.7794 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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