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.005217/0.005217, allocations: 101.4 kB / 15.73 MB, free: 6.062 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.001469/0.001469, allocations: 188.6 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.496/2.496, allocations: 469.8 MB / 0.7425 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 75.88 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7108/0.7126, allocations: 159.1 MB / 1.22 GB, free: 2.031 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.00372/0.7164, allocations: 2.513 MB / 1.223 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.7176, allocations: 0.7673 MB / 1.223 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.49e-05/0.7177, allocations: 11.94 kB / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00108/0.7188, allocations: 0.522 MB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002382/0.7191, allocations: 107.5 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002559/0.7193, allocations: 109 kB / 1.224 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000251/0.7196, allocations: 203.3 kB / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000326/0.7199, allocations: 162.1 kB / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.715e-05/0.72, allocations: 87.69 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000203/0.7202, allocations: 91.7 kB / 1.225 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.7203, allocations: 12 kB / 1.225 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001908/0.7205, allocations: 111.8 kB / 1.225 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.753e-05/0.7205, allocations: 59.81 kB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.234e-05/0.7206, allocations: 71.61 kB / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002929/0.7209, allocations: 218.9 kB / 1.225 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.7209, allocations: 0 / 1.225 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.954e-06/0.721, allocations: 0 / 1.225 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.721, allocations: 0 / 1.225 GB, free: 12.99 MB / 0.9512 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.0005855/0.7216, allocations: 455 kB / 1.225 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.7216, allocations: 8.031 kB / 1.225 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.126e-05/0.7216, allocations: 46.73 kB / 1.226 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003356/0.722, allocations: 44.8 kB / 1.226 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.7222, allocations: 224.1 kB / 1.226 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.7223, allocations: 8.656 kB / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.7223, allocations: 16.31 kB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003479/0.7226, allocations: 235.1 kB / 1.226 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.7227, allocations: 3.938 kB / 1.226 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.7227, allocations: 4 kB / 1.226 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.238e-05/0.7227, allocations: 16.27 kB / 1.226 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002337/0.723, allocations: 156.6 kB / 1.226 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.724, allocations: 1.131 MB / 1.227 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.052e-05/0.7241, allocations: 42.56 kB / 1.227 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.245e-05/0.7242, allocations: 20.86 kB / 1.227 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.7242, allocations: 0 / 1.227 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.7242, allocations: 34.64 kB / 1.227 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.7242, allocations: 0 / 1.227 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0001781/0.7244, allocations: 81.52 kB / 1.227 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.7244, allocations: 51.41 kB / 1.228 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.7246, allocations: 175 kB / 1.228 GB, free: 9.969 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.7246, allocations: 29.7 kB / 1.228 GB, free: 9.934 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.44e-05/0.7247, allocations: 143.7 kB / 1.228 GB, free: 9.789 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.413e-05/0.7247, allocations: 15.84 kB / 1.228 GB, free: 9.773 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.954e-05/0.7248, allocations: 33.66 kB / 1.228 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.7249, allocations: 318.8 kB / 1.228 GB, free: 9.414 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.856e-05/0.725, allocations: 32.78 kB / 1.228 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.68e-05/0.7251, allocations: 89.42 kB / 1.228 GB, free: 9.258 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.7252, allocations: 133.2 kB / 1.228 GB, free: 9.094 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.7253, allocations: 0 / 1.228 GB, free: 9.094 MB / 0.9512 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000187/0.7254, allocations: 133.4 kB / 1.229 GB, free: 8.957 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.7255, allocations: 8 kB / 1.229 GB, free: 8.949 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.7255, allocations: 0 / 1.229 GB, free: 8.949 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.7255, allocations: 7.938 kB / 1.229 GB, free: 8.941 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.7256, allocations: 27.92 kB / 1.229 GB, free: 8.914 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/0.7256, allocations: 4 kB / 1.229 GB, free: 8.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.472e-05/0.7257, allocations: 16.2 kB / 1.229 GB, free: 8.895 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.7257, allocations: 15.98 kB / 1.229 GB, free: 8.879 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.61e-05/0.7258, allocations: 123.2 kB / 1.229 GB, free: 8.758 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.524e-05/0.7259, allocations: 95.56 kB / 1.229 GB, free: 8.633 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001307/0.726, allocations: 125.3 kB / 1.229 GB, free: 8.477 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.12e-07/0.726, allocations: 0 / 1.229 GB, free: 8.477 MB / 0.9512 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001799/0.7262, allocations: 133.3 kB / 1.229 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 8.015e-06/0.7262, allocations: 7.984 kB / 1.229 GB, free: 8.332 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.7262, allocations: 4 kB / 1.229 GB, free: 8.328 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.957e-06/0.7263, allocations: 4.312 kB / 1.229 GB, free: 8.324 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.333e-05/0.7263, allocations: 31.88 kB / 1.229 GB, free: 8.293 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.7263, allocations: 4 kB / 1.229 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.729e-05/0.7264, allocations: 11.98 kB / 1.229 GB, free: 8.277 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.7264, allocations: 4 kB / 1.229 GB, free: 8.273 MB / 0.9512 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.0001017/0.7265, allocations: 192.1 kB / 1.229 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.7266, allocations: 8.234 kB / 1.229 GB, free: 8.07 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.7266, allocations: 16.88 kB / 1.229 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.7266, allocations: 3.984 kB / 1.229 GB, free: 8.043 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.7266, allocations: 4 kB / 1.229 GB, free: 8.039 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.7266, allocations: 0 / 1.229 GB, free: 8.039 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004449/0.7271, allocations: 481.1 kB / 1.23 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.7271, allocations: 0 / 1.23 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.24e-05/0.7271, allocations: 4 kB / 1.23 GB, free: 7.496 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.7271, allocations: 7.938 kB / 1.23 GB, free: 7.488 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.7271, allocations: 4.125 kB / 1.23 GB, free: 7.484 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.7271, allocations: 0 / 1.23 GB, free: 7.484 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.7271, allocations: 4 kB / 1.23 GB, free: 7.48 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.7273, allocations: 115.5 kB / 1.23 GB, free: 7.34 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.194e-05/0.7273, allocations: 89.06 kB / 1.23 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.7274, allocations: 4 kB / 1.23 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.486e-05/0.7274, allocations: 8 kB / 1.23 GB, free: 7.223 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.139e-05/0.7274, allocations: 7.922 kB / 1.23 GB, free: 7.215 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.7274, allocations: 7.938 kB / 1.23 GB, free: 7.207 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.106e-05/0.7275, allocations: 120 kB / 1.23 GB, free: 7.09 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.7275, allocations: 0 / 1.23 GB, free: 7.09 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003147/0.7279, allocations: 51.89 kB / 1.23 GB, free: 7.039 MB / 0.9512 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.0004035/0.7283, allocations: 0.6544 MB / 1.231 GB, free: 6.344 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002008/0.7285, allocations: 120 kB / 1.231 GB, free: 6.227 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.7285, allocations: 0 / 1.231 GB, free: 6.227 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 2.59e-05/0.7285, allocations: 15.94 kB / 1.231 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.7288, allocations: 19.98 kB / 1.231 GB, free: 6.191 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/0.7304, allocations: 1.737 MB / 1.233 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.7307, allocations: 0.7202 MB / 1.233 GB, free: 3.551 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.854e-05/0.7308, allocations: 32.61 kB / 1.233 GB, free: 3.516 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.566e-05/0.7309, allocations: 31.44 kB / 1.234 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of SimCode: time 3.41e-07/0.7309, allocations: 0 / 1.234 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.301/2.031, allocations: 2.413 MB / 1.236 GB, free: 1.176 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.6/17.63, allocations: 4.578 kB / 1.236 GB, free: 1.172 MB / 0.9512 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 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.mat","/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