Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.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.AC.ThreePhasesBalanced.Sensors.Examples.Probe,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe",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.000867/0.0008669, allocations: 97.56 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.005172/0.005172, allocations: 169 kB / 16.26 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.144/1.144, 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.323/2.323, allocations: 437.8 MB / 0.7121 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003001/0.0003, allocations: 8 kB / 0.873 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5495/0.5498, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.00471/0.5546, allocations: 4.293 MB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003069/0.5577, allocations: 2.178 MB / 1.029 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.5578, allocations: 11.94 kB / 1.029 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002024/0.558, allocations: 63.48 kB / 1.03 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004974/0.5586, allocations: 250.9 kB / 1.03 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006392/0.5592, allocations: 307.4 kB / 1.03 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006497/0.5599, allocations: 0.8179 MB / 1.031 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/0.5609, allocations: 0.6475 MB / 1.031 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/0.5611, allocations: 179.2 kB / 1.032 GB, free: 7.051 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000362/0.5615, allocations: 275 kB / 1.032 GB, free: 6.781 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.574e-05/0.5615, allocations: 20 kB / 1.032 GB, free: 6.762 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004007/0.5619, allocations: 291.5 kB / 1.032 GB, free: 6.477 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001478/0.5621, allocations: 163.5 kB / 1.032 GB, free: 6.316 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001657/0.5623, allocations: 212.7 kB / 1.033 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005615/0.5628, allocations: 0.6229 MB / 1.033 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.5628, allocations: 0 / 1.033 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5629, allocations: 0 / 1.033 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.5629, allocations: 0 / 1.033 GB, free: 5.477 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.0008912/0.5638, allocations: 0.6357 MB / 1.034 GB, free: 4.789 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.5638, allocations: 11.97 kB / 1.034 GB, free: 4.777 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.942e-05/0.5639, allocations: 86.62 kB / 1.034 GB, free: 4.684 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009271/0.5648, allocations: 144.2 kB / 1.034 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/0.5652, allocations: 308.6 kB / 1.034 GB, free: 4.199 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.5652, allocations: 29.36 kB / 1.034 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.469e-05/0.5653, allocations: 36.38 kB / 1.034 GB, free: 4.137 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007998/0.5661, allocations: 0.63 MB / 1.035 GB, free: 3.449 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.5661, allocations: 3.906 kB / 1.035 GB, free: 3.445 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.742e-05/0.5661, allocations: 19.98 kB / 1.035 GB, free: 3.426 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.578e-05/0.5662, allocations: 48.62 kB / 1.035 GB, free: 3.379 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006474/0.5669, allocations: 474.1 kB / 1.036 GB, free: 2.914 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002937/0.5698, allocations: 3.424 MB / 1.039 GB, free: 15.21 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006244/0.5705, allocations: 380.8 kB / 1.039 GB, free: 14.82 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/0.5707, allocations: 169.6 kB / 1.039 GB, free: 14.64 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/0.5707, allocations: 11.98 kB / 1.039 GB, free: 14.63 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.5708, allocations: 34.56 kB / 1.039 GB, free: 14.59 MB / 0.795 GB Notification: Performance of pre-optimization done (n=25): time 1.703e-06/0.5708, allocations: 4 kB / 1.039 GB, free: 14.59 MB / 0.795 GB Notification: Performance of matching and sorting (n=26): time 0.004385/0.5752, allocations: 1.458 MB / 1.041 GB, free: 13.08 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.5752, allocations: 85.11 kB / 1.041 GB, free: 12.98 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002977/0.5755, allocations: 328.3 kB / 1.041 GB, free: 12.64 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.5756, allocations: 29.7 kB / 1.041 GB, free: 12.61 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.5757, allocations: 271.2 kB / 1.042 GB, free: 12.34 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 6.413e-05/0.5758, allocations: 90.66 kB / 1.042 GB, free: 12.25 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.86e-05/0.5758, allocations: 41.69 kB / 1.042 GB, free: 12.2 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.5759, allocations: 338.8 kB / 1.042 GB, free: 11.86 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002474/0.5762, allocations: 177 kB / 1.042 GB, free: 11.69 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003286/0.5765, allocations: 342.1 kB / 1.043 GB, free: 11.29 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006045/0.5771, allocations: 0.5395 MB / 1.043 GB, free: 10.67 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.5771, allocations: 4 kB / 1.043 GB, free: 10.67 MB / 0.795 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002149/0.5793, allocations: 0.9086 MB / 1.044 GB, free: 9.746 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001263/0.5794, allocations: 241 kB / 1.044 GB, free: 9.434 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.5795, allocations: 4 kB / 1.044 GB, free: 9.43 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002229/0.5817, allocations: 0.5127 MB / 1.045 GB, free: 8.91 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003511/0.5821, allocations: 95.81 kB / 1.045 GB, free: 8.816 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005148/0.5872, allocations: 3.785 MB / 1.048 GB, free: 4.762 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003676/0.5876, allocations: 39.81 kB / 1.048 GB, free: 4.723 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.869e-05/0.5876, allocations: 27.98 kB / 1.049 GB, free: 4.695 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/0.5877, allocations: 9.969 kB / 1.049 GB, free: 4.688 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006645/0.5883, allocations: 487.4 kB / 1.049 GB, free: 4.211 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.5883, allocations: 8 kB / 1.049 GB, free: 4.203 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.613e-06/0.5884, allocations: 8 kB / 1.049 GB, free: 4.195 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003841/0.5887, allocations: 103.8 kB / 1.049 GB, free: 4.094 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.5888, allocations: 15.92 kB / 1.049 GB, free: 4.078 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002392/0.589, allocations: 31.83 kB / 1.049 GB, free: 4.047 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.774e-05/0.589, allocations: 20.5 kB / 1.049 GB, free: 4.027 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002308/0.5893, allocations: 277.6 kB / 1.049 GB, free: 3.746 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.85e-05/0.5894, allocations: 31.62 kB / 1.049 GB, free: 3.715 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00164/0.591, allocations: 0.6769 MB / 1.05 GB, free: 3.027 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.591, allocations: 4 kB / 1.05 GB, free: 3.023 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.591, allocations: 0 / 1.05 GB, free: 3.023 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.591, allocations: 0 / 1.05 GB, free: 3.023 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008087/0.5919, allocations: 0.652 MB / 1.051 GB, free: 2.309 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.5919, allocations: 7.984 kB / 1.051 GB, free: 2.301 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/0.5921, allocations: 43.91 kB / 1.051 GB, free: 2.258 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001482/0.5935, allocations: 405.3 kB / 1.051 GB, free: 1.855 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.243e-05/0.5936, allocations: 8 kB / 1.051 GB, free: 1.848 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003488/0.5971, allocations: 3.482 MB / 1.055 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.5971, allocations: 4.031 kB / 1.055 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/0.5986, allocations: 0.822 MB / 1.055 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.5988, allocations: 148.6 kB / 1.056 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.158e-05/0.5988, allocations: 7.938 kB / 1.056 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003365/0.5992, allocations: 35.94 kB / 1.056 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.691e-05/0.5993, allocations: 27.97 kB / 1.056 GB, free: 13 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.5993, allocations: 12 kB / 1.056 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002114/0.5995, allocations: 227 kB / 1.056 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5995, allocations: 0 / 1.056 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0007797/0.6003, allocations: 196 kB / 1.056 GB, free: 12.58 MB / 0.8106 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 (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002007/0.6023, allocations: 1.395 MB / 1.057 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001438/0.6038, allocations: 0.9672 MB / 1.058 GB, free: 10.15 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.6038, allocations: 0 / 1.058 GB, free: 10.15 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006541/0.6044, allocations: 478.5 kB / 1.059 GB, free: 9.656 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000595/0.605, allocations: 63.86 kB / 1.059 GB, free: 9.598 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006923/0.612, allocations: 4.696 MB / 1.063 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.6124, allocations: 0.847 MB / 1.064 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003924/0.6128, allocations: 139.2 kB / 1.064 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.6129, allocations: 115.4 kB / 1.065 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of SimCode: time 2.81e-07/0.6129, allocations: 0 / 1.065 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.758/3.371, allocations: 9.905 MB / 1.074 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003109/3.371, allocations: 262.2 kB / 1.074 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.835/5.206, allocations: 0 / 1.074 GB, free: 9.609 MB / 0.8262 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches