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: translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen.V",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen.V",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 181.1 kB / 16.92 MB, free: 6.652 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.536/1.536, allocations: 223.3 MB / 241 MB, free: 5.289 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.661/2.661, allocations: 437.8 MB / 0.7128 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003675/0.0003678, allocations: 8 kB / 0.8735 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6104/0.6108, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.003231/0.6141, allocations: 2.208 MB / 1.026 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001507/0.6156, allocations: 0.7558 MB / 1.027 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.6158, allocations: 7.938 kB / 1.027 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001762/0.616, allocations: 23.8 kB / 1.027 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004285/0.6165, allocations: 111.6 kB / 1.027 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003972/0.6169, allocations: 99.83 kB / 1.027 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003785/0.6173, allocations: 291.2 kB / 1.027 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003379/0.6176, allocations: 191.2 kB / 1.027 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.6177, allocations: 59.77 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002671/0.618, allocations: 91.66 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.6181, allocations: 8 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002654/0.6183, allocations: 135.7 kB / 1.028 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.68e-05/0.6184, allocations: 51.83 kB / 1.028 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.608e-05/0.6185, allocations: 93.36 kB / 1.028 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.6188, allocations: 165.5 kB / 1.028 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.6188, allocations: 0 / 1.028 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6188, allocations: 4 kB / 1.028 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.6188, allocations: 0 / 1.028 GB, free: 11.57 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.0006532/0.6195, allocations: 419.4 kB / 1.028 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.6195, allocations: 8.031 kB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004205/0.62, allocations: 44.72 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/0.6202, allocations: 220 kB / 1.029 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.6202, allocations: 16.59 kB / 1.029 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.075e-05/0.6203, allocations: 20.31 kB / 1.029 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003665/0.6206, allocations: 219.5 kB / 1.029 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.6207, allocations: 8.125 kB / 1.029 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.6207, allocations: 7.938 kB / 1.029 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.581e-05/0.6207, allocations: 16.27 kB / 1.029 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002536/0.621, allocations: 148.7 kB / 1.029 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.6222, allocations: 1.134 MB / 1.03 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.627e-05/0.6223, allocations: 42.5 kB / 1.03 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.404e-05/0.6223, allocations: 16.86 kB / 1.03 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.6223, allocations: 0 / 1.03 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.6223, allocations: 30.56 kB / 1.03 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.6224, allocations: 0 / 1.03 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002128/0.6226, allocations: 85.61 kB / 1.03 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.6226, allocations: 55.34 kB / 1.03 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.6228, allocations: 179.6 kB / 1.03 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.6228, allocations: 25.7 kB / 1.03 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.663e-05/0.6229, allocations: 135.4 kB / 1.031 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.537e-05/0.6229, allocations: 15.8 kB / 1.031 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.892e-05/0.6229, allocations: 17.72 kB / 1.031 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.6231, allocations: 322.8 kB / 1.031 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.393e-05/0.6231, allocations: 19.98 kB / 1.031 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.85e-05/0.6232, allocations: 93.44 kB / 1.031 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.6234, allocations: 125.2 kB / 1.031 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.728e-06/0.6234, allocations: 8 kB / 1.031 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002185/0.6236, allocations: 129.4 kB / 1.031 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.468e-05/0.6237, allocations: 161.8 kB / 1.031 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.6237, allocations: 4 kB / 1.031 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.6237, allocations: 4 kB / 1.031 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.6239, allocations: 23.98 kB / 1.031 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.6239, allocations: 7.938 kB / 1.031 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.942e-05/0.624, allocations: 23.78 kB / 1.032 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-06/0.624, allocations: 7.938 kB / 1.032 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.734e-06/0.624, allocations: 6.344 kB / 1.032 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001452/0.6241, allocations: 99.8 kB / 1.032 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.6242, allocations: 4 kB / 1.032 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.508e-06/0.6242, allocations: 4 kB / 1.032 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.473e-05/0.6242, allocations: 23.98 kB / 1.032 GB, free: 7.262 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.6243, allocations: 7.938 kB / 1.032 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.92e-05/0.6243, allocations: 11.91 kB / 1.032 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.6243, allocations: 4 kB / 1.032 GB, free: 7.238 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.0001282/0.6245, allocations: 217.2 kB / 1.032 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.286e-05/0.6245, allocations: 11.91 kB / 1.032 GB, free: 7.004 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.933e-05/0.6245, allocations: 12.94 kB / 1.032 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.6245, allocations: 288 / 1.032 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.6246, allocations: 11.92 kB / 1.032 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.6246, allocations: 3.938 kB / 1.032 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004368/0.625, allocations: 477.1 kB / 1.032 GB, free: 6.441 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.625, allocations: 4 kB / 1.032 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.547e-05/0.6251, allocations: 8 kB / 1.032 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.6251, allocations: 3.938 kB / 1.032 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.6251, allocations: 0 / 1.032 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.6251, allocations: 4 kB / 1.032 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.6251, allocations: 0 / 1.032 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001236/0.6252, allocations: 115.6 kB / 1.032 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.108e-05/0.6253, allocations: 88.95 kB / 1.033 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.6253, allocations: 4 kB / 1.033 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.977e-05/0.6254, allocations: 4 kB / 1.033 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.809e-05/0.6254, allocations: 3.984 kB / 1.033 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.6254, allocations: 4 kB / 1.033 GB, free: 6.16 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001055/0.6255, allocations: 121.6 kB / 1.033 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6255, allocations: 4 kB / 1.033 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003654/0.6259, allocations: 59.75 kB / 1.033 GB, free: 5.98 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.0001038/0.626, allocations: 103.2 kB / 1.033 GB, free: 5.871 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001933/0.6262, allocations: 101 kB / 1.033 GB, free: 5.773 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6262, allocations: 4.062 kB / 1.033 GB, free: 5.77 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.766e-05/0.6263, allocations: 19.92 kB / 1.033 GB, free: 5.75 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.6266, allocations: 23.92 kB / 1.033 GB, free: 5.727 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005567/0.6271, allocations: 370.7 kB / 1.033 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.6274, allocations: 0.7163 MB / 1.034 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.464e-05/0.6275, allocations: 19.44 kB / 1.034 GB, free: 4.559 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6275, allocations: 0 / 1.034 GB, free: 4.559 MB / 0.7794 GB Notification: Performance of Templates: time 0.003357/0.6308, allocations: 1.415 MB / 1.035 GB, free: 3.145 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile (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 & ./Buildings_10_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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